Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 109.2 kB / 17.73 MB, free: 5.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 188.2 kB / 18.66 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.91 kB / 328 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.095/0.09623, allocations: 46.62 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.2157/0.3119, allocations: 11.76 MB / 386.4 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008618/0.3206, allocations: 3.807 MB / 390.2 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003408/0.324, allocations: 58.12 kB / 390.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00375/0.3279, allocations: 0.9146 MB / 391.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005305/0.3333, allocations: 1.127 MB / 392.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.3353, allocations: 0.4934 MB / 392.8 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008173/0.3435, allocations: 4.261 MB / 397.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006297/0.3498, allocations: 3.204 MB / 400.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004357/0.3542, allocations: 1.907 MB / 402.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005089/0.3593, allocations: 2.325 MB / 404.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002085/0.3614, allocations: 0.4963 MB / 405 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.3649, allocations: 0.5905 MB / 405.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003347/0.3682, allocations: 1.401 MB / 407 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007554/0.3758, allocations: 2.209 MB / 409.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01158/0.3874, allocations: 6.567 MB / 415.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.3875, allocations: 1.375 kB / 415.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3875, allocations: 4 kB / 415.8 MB, free: 6.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002825/0.3878, allocations: 0 / 415.8 MB, free: 6.242 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01336/0.4012, allocations: 4.399 MB / 420.2 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.4012, allocations: 12.03 kB / 420.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001571/0.4028, allocations: 438.6 kB / 420.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/0.4049, allocations: 458.3 kB / 421.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005806/0.4108, allocations: 2.275 MB / 423.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.4111, allocations: 230.2 kB / 423.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/0.4122, allocations: 311.9 kB / 423.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009983/0.4222, allocations: 4.358 MB / 428.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.793e-05/0.4223, allocations: 11.94 kB / 428.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.4227, allocations: 124 kB / 428.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001403/0.4228, allocations: 130 kB / 428.5 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007093/0.4299, allocations: 3.779 MB / 432.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02525/0.4552, allocations: 13.43 MB / 445.7 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/0.4593, allocations: 2.895 MB / 448.6 MB, free: 5.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003325/0.4627, allocations: 1.684 MB / 450.3 MB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003264/0.463, allocations: 130.4 kB / 450.4 MB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/0.4631, allocations: 51.88 kB / 450.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=164): time 4.449e-06/0.4631, allocations: 0 / 450.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.0202/0.4833, allocations: 9.27 MB / 459.7 MB, free: 9.855 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.4834, allocations: 69.41 kB / 459.8 MB, free: 9.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004686/0.4881, allocations: 2.361 MB / 462.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.4883, allocations: 57.7 kB / 462.2 MB, free: 7.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/0.4897, allocations: 1.505 MB / 463.7 MB, free: 5.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005992/0.4903, allocations: 0.6353 MB / 464.4 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000719/0.491, allocations: 367.4 kB / 464.7 MB, free: 4.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4911, allocations: 305.1 kB / 465 MB, free: 4.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.493, allocations: 1.124 MB / 466.1 MB, free: 3.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.4952, allocations: 1.571 MB / 467.7 MB, free: 1.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/0.4993, allocations: 2.788 MB / 470.5 MB, free: 14.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/0.4993, allocations: 4 kB / 470.5 MB, free: 14.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.006488/0.5058, allocations: 3.605 MB / 474.1 MB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.5059, allocations: 16.38 kB / 474.1 MB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-05/0.5059, allocations: 20 kB / 474.1 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/0.5081, allocations: 0.7949 MB / 474.9 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/0.51, allocations: 459.3 kB / 475.4 MB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.5211, allocations: 11.17 MB / 486.6 MB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/0.5235, allocations: 127.8 kB / 486.7 MB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004238/0.5239, allocations: 79.92 kB / 486.8 MB, free: 13.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002465/0.5264, allocations: 1.091 MB / 487.8 MB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008434/0.5273, allocations: 258.3 kB / 488.1 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006094/0.5334, allocations: 3.297 MB / 491.4 MB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.5334, allocations: 20 kB / 491.4 MB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/0.5334, allocations: 4 kB / 491.4 MB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.5335, allocations: 7.969 kB / 491.4 MB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/0.547, allocations: 6.856 MB / 498.3 MB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.547, allocations: 0 / 498.3 MB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.5483, allocations: 303.8 kB / 498.6 MB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00242/0.5508, allocations: 0.9274 MB / 499.5 MB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/0.551, allocations: 39.98 kB / 499.5 MB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/0.5694, allocations: 14.6 MB / 0.5021 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5694, allocations: 7.969 kB / 0.5021 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/0.582, allocations: 4.874 MB / 0.5069 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/0.5844, allocations: 0.5774 MB / 0.5074 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/0.5855, allocations: 43.92 kB / 0.5075 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/0.5882, allocations: 123.8 kB / 0.5076 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007342/0.589, allocations: 153.7 kB / 0.5077 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000265/0.5893, allocations: 47.98 kB / 0.5078 GB, free: 11.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00494/0.5943, allocations: 1.629 MB / 0.5094 GB, free: 9.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.5943, allocations: 0 / 0.5094 GB, free: 9.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00495/0.5992, allocations: 0.7031 MB / 0.5101 GB, free: 8.816 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.01346/0.6127, allocations: 5.533 MB / 0.5155 GB, free: 3.207 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008361/0.6211, allocations: 3.597 MB / 0.519 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/0.6212, allocations: 0 / 0.519 GB, free: 15.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005517/0.6267, allocations: 2.515 MB / 0.5214 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006115/0.6329, allocations: 0.7026 MB / 0.5221 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05123/0.6841, allocations: 26.37 MB / 0.5479 GB, free: 1.129 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1951/0.8793, allocations: 2.51 MB / 0.5503 GB, free: 154 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002125/0.8814, allocations: 0.5814 MB / 0.5509 GB, free: 153.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001813/0.8832, allocations: 1.261 MB / 0.5521 GB, free: 153.9 MB / 478.1 MB Notification: Performance of SimCode: time 5.61e-07/0.8832, allocations: 0.5625 kB / 0.5521 GB, free: 153.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/1.007, allocations: 66.66 MB / 0.6172 GB, free: 107.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/15.26, allocations: 8 kB / 0.6172 GB, free: 107.5 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_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_AIMS_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches