Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 118 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 207.6 MB / 231.8 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 47.94 kB / 342.3 MB, free: 9.988 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08708/0.08893, allocations: 49.13 MB / 391.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize): time 0.01123/0.1002, allocations: 8.909 MB / 400.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005804/0.106, allocations: 2.933 MB / 403.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.1073, allocations: 47.69 kB / 403.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.1093, allocations: 0.6445 MB / 404 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002571/0.1119, allocations: 0.7574 MB / 404.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009847/0.1129, allocations: 331.5 kB / 405 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003409/0.1163, allocations: 2.393 MB / 407.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.1183, allocations: 1.242 MB / 408.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.1201, allocations: 1.086 MB / 409.8 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.1225, allocations: 1.389 MB / 411.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006181/0.1231, allocations: 280 kB / 411.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000934/0.124, allocations: 367.8 kB / 411.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00086/0.1249, allocations: 0.8064 MB / 412.6 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001779/0.1267, allocations: 1.264 MB / 413.9 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0041/0.1308, allocations: 3.686 MB / 417.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.427e-06/0.1308, allocations: 4 kB / 417.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1308, allocations: 0 / 417.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000105/0.1309, allocations: 0 / 417.5 MB, free: 14.43 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005577/0.1365, allocations: 2.631 MB / 420.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.1365, allocations: 15.97 kB / 420.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003987/0.1369, allocations: 270 kB / 420.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007351/0.1377, allocations: 267.4 kB / 420.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.14, allocations: 1.324 MB / 422 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.1402, allocations: 132 kB / 422.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003187/0.1405, allocations: 191.9 kB / 422.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004241/0.1447, allocations: 2.41 MB / 424.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-05/0.1448, allocations: 7.953 kB / 424.8 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.145, allocations: 68 kB / 424.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.1451, allocations: 91.48 kB / 424.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/0.1489, allocations: 2.016 MB / 426.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01359/0.1625, allocations: 7.395 MB / 434.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.1645, allocations: 1.213 MB / 435.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001868/0.1664, allocations: 0.869 MB / 436.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.1667, allocations: 118.1 kB / 436.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.1667, allocations: 47.55 kB / 436.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.066e-06/0.1667, allocations: 0 / 436.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=100): time 0.0104/0.1771, allocations: 5.028 MB / 441.6 MB, free: 5.773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.1772, allocations: 64.41 kB / 441.7 MB, free: 5.699 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.1794, allocations: 1.376 MB / 443 MB, free: 4.316 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.1795, allocations: 41.7 kB / 443.1 MB, free: 4.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007398/0.1803, allocations: 0.9227 MB / 444 MB, free: 3.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003906/0.1807, allocations: 368.9 kB / 444.4 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003823/0.181, allocations: 214.9 kB / 444.6 MB, free: 2.758 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1812, allocations: 349.9 kB / 444.9 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.1823, allocations: 0.6311 MB / 445.6 MB, free: 1.777 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.1836, allocations: 0.922 MB / 446.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/0.1861, allocations: 1.657 MB / 448.1 MB, free: 14.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.1861, allocations: 4 kB / 448.1 MB, free: 14.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004922/0.191, allocations: 2.372 MB / 450.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.191, allocations: 11.98 kB / 450.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.1911, allocations: 12 kB / 450.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002/0.1931, allocations: 0.7082 MB / 451.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009462/0.194, allocations: 239.6 kB / 451.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.2061, allocations: 8.738 MB / 460.2 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.2074, allocations: 84.08 kB / 460.3 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/0.2075, allocations: 48.11 kB / 460.3 MB, free: 2.445 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (6,29,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001153/0.2087, allocations: 0.6262 MB / 461 MB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/0.209, allocations: 151 kB / 461.1 MB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1871/0.3962, allocations: 1.882 MB / 463 MB, free: 63.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.3962, allocations: 9.875 kB / 463 MB, free: 63.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.3962, allocations: 4.656 kB / 463 MB, free: 63.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/0.3962, allocations: 6.094 kB / 463 MB, free: 63.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00746/0.4037, allocations: 3.997 MB / 467 MB, free: 62.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4037, allocations: 2.656 kB / 467 MB, free: 62.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/0.4045, allocations: 187 kB / 467.2 MB, free: 62.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001221/0.4057, allocations: 469.8 kB / 467.7 MB, free: 62.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.689e-05/0.4058, allocations: 30.22 kB / 467.7 MB, free: 62.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005291/0.4111, allocations: 6.691 MB / 474.4 MB, free: 57.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4111, allocations: 2.312 kB / 474.4 MB, free: 57.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004003/0.4151, allocations: 2.781 MB / 477.2 MB, free: 56.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007092/0.4158, allocations: 367.1 kB / 477.5 MB, free: 55.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.416, allocations: 25.09 kB / 477.5 MB, free: 55.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007929/0.4168, allocations: 68.61 kB / 477.6 MB, free: 55.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.417, allocations: 82.59 kB / 477.7 MB, free: 55.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/0.4171, allocations: 29.11 kB / 477.7 MB, free: 55.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001376/0.4185, allocations: 0.957 MB / 478.7 MB, free: 55.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4185, allocations: 3.938 kB / 478.7 MB, free: 55.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001427/0.4199, allocations: 433.5 kB / 479.1 MB, free: 55.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003912/0.4238, allocations: 3.392 MB / 482.5 MB, free: 53.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003113/0.4269, allocations: 1.944 MB / 484.4 MB, free: 53.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.4269, allocations: 0 / 484.4 MB, free: 53.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001637/0.4286, allocations: 1.304 MB / 485.7 MB, free: 52.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.4304, allocations: 382.8 kB / 486.1 MB, free: 52.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/0.4497, allocations: 16.34 MB / 0.4907 GB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/0.4506, allocations: 1.693 MB / 0.4923 GB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007429/0.4513, allocations: 312 kB / 0.4926 GB, free: 34.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007036/0.452, allocations: 0.6984 MB / 0.4933 GB, free: 34.2 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.452, allocations: 0 / 0.4933 GB, free: 34.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07502/0.5271, allocations: 40.2 MB / 0.5326 GB, free: 9.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.77/18.3, allocations: 20.23 kB / 0.5326 GB, free: 9.879 MB / 398.1 MB " [Timeout remaining time 642] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.phi in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv. Warning: Get data of variable loadInertia.phi from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv failed! Error: Could not read variable loadInertia.w in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.53716727999563]