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.001124/0.001124, allocations: 104.2 kB / 17.58 MB, free: 5.559 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.001226/0.001226, allocations: 192 kB / 18.51 MB, free: 4.641 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.426/1.426, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001243/0.001243, allocations: 59.91 kB / 280.8 MB, free: 3.051 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1044, allocations: 46.63 MB / 327.4 MB, free: 4.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01402/0.1184, allocations: 11.75 MB / 339.1 MB, free: 8.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008879/0.1274, allocations: 3.81 MB / 343 MB, free: 4.707 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002432/0.1298, allocations: 63.69 kB / 343 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.1323, allocations: 0.8539 MB / 343.9 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.136, allocations: 1.083 MB / 345 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1372, allocations: 499.3 kB / 345.4 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006326/0.1435, allocations: 4.261 MB / 349.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004244/0.1478, allocations: 3.198 MB / 352.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003474/0.1513, allocations: 1.892 MB / 354.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003759/0.1551, allocations: 2.335 MB / 357.1 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008918/0.156, allocations: 0.4999 MB / 357.6 MB, free: 5.918 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.1573, allocations: 0.5858 MB / 358.2 MB, free: 5.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001292/0.1586, allocations: 1.387 MB / 359.6 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002982/0.1616, allocations: 2.213 MB / 361.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006884/0.1685, allocations: 6.488 MB / 368.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1686, allocations: 0 / 368.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.1686, allocations: 0 / 368.3 MB, free: 11.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001818/0.1688, allocations: 0 / 368.3 MB, free: 11.21 MB / 318.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.01086/0.1796, allocations: 4.294 MB / 372.6 MB, free: 6.848 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.183e-05/0.1797, allocations: 12.03 kB / 372.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007405/0.1805, allocations: 438.6 kB / 373 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.1817, allocations: 440 kB / 373.5 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003948/0.1857, allocations: 2.227 MB / 375.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.1859, allocations: 234.1 kB / 375.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004431/0.1863, allocations: 307.9 kB / 376.2 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1789/0.3653, allocations: 4.361 MB / 380.6 MB, free: 48.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.3654, allocations: 11.38 kB / 380.6 MB, free: 48.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000457/0.3659, allocations: 128.4 kB / 380.7 MB, free: 48.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/0.3662, allocations: 129.6 kB / 380.8 MB, free: 48.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009012/0.3752, allocations: 3.771 MB / 384.6 MB, free: 47.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02262/0.3978, allocations: 13.56 MB / 398.2 MB, free: 38.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002874/0.4007, allocations: 2.896 MB / 401.1 MB, free: 36.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/0.403, allocations: 1.691 MB / 402.8 MB, free: 36.12 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/0.4033, allocations: 123.9 kB / 402.9 MB, free: 36.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.4033, allocations: 47.53 kB / 402.9 MB, free: 35.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 3.316e-06/0.4033, allocations: 3.938 kB / 402.9 MB, free: 35.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01605/0.4194, allocations: 9.213 MB / 412.1 MB, free: 28.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.4194, allocations: 69.41 kB / 412.2 MB, free: 28.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/0.4222, allocations: 2.361 MB / 414.6 MB, free: 26.05 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.4223, allocations: 58.47 kB / 414.6 MB, free: 25.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006881/0.423, allocations: 1.465 MB / 416.1 MB, free: 24.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/0.4234, allocations: 0.6 MB / 416.7 MB, free: 23.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/0.4239, allocations: 363.3 kB / 417.1 MB, free: 23.56 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.4239, allocations: 305.1 kB / 417.4 MB, free: 23.26 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.4253, allocations: 1.124 MB / 418.5 MB, free: 22.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.4268, allocations: 1.573 MB / 420.1 MB, free: 20.39 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002885/0.4297, allocations: 2.792 MB / 422.8 MB, free: 17.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.4297, allocations: 4 kB / 422.8 MB, free: 17.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.004874/0.4346, allocations: 3.593 MB / 426.4 MB, free: 13.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.4347, allocations: 12 kB / 426.5 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.4347, allocations: 12 kB / 426.5 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001717/0.4364, allocations: 0.8065 MB / 427.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.438, allocations: 455.3 kB / 427.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007811/0.4458, allocations: 11.18 MB / 438.9 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/0.4477, allocations: 131.7 kB / 439 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.4479, allocations: 77.5 kB / 439.1 MB, free: 440 kB / 318.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.001762/0.4496, allocations: 1.087 MB / 440.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004889/0.4501, allocations: 241.1 kB / 440.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005579/0.4557, allocations: 3.305 MB / 443.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.4558, allocations: 20 kB / 443.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.4558, allocations: 4 kB / 443.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.4558, allocations: 11.95 kB / 443.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.4677, allocations: 6.892 MB / 450.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.4678, allocations: 0 / 450.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.469, allocations: 291.8 kB / 450.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/0.4714, allocations: 0.9352 MB / 451.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.4716, allocations: 43.98 kB / 451.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.4857, allocations: 14.6 MB / 466.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.4857, allocations: 3.938 kB / 466.5 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00805/0.4938, allocations: 4.866 MB / 471.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/0.4953, allocations: 0.5645 MB / 472 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/0.4956, allocations: 36 kB / 472 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.497, allocations: 127.8 kB / 472.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004421/0.4974, allocations: 149.7 kB / 472.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.4976, allocations: 55.98 kB / 472.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002632/0.5002, allocations: 1.629 MB / 473.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.643e-06/0.5002, allocations: 0 / 473.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002428/0.5027, allocations: 0.7159 MB / 474.7 MB, free: 11.66 MB / 366.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.008521/0.5112, allocations: 5.514 MB / 480.2 MB, free: 6.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008716/0.5199, allocations: 4.86 MB / 485 MB, free: 1.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.52, allocations: 4 kB / 485 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003693/0.5237, allocations: 2.504 MB / 487.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/0.527, allocations: 0.7122 MB / 488.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04753/0.5746, allocations: 29.9 MB / 0.506 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/0.5771, allocations: 2.525 MB / 0.5085 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00209/0.5792, allocations: 0.5866 MB / 0.509 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001802/0.5811, allocations: 1.261 MB / 0.5103 GB, free: 9.262 MB / 414.1 MB Notification: Performance of SimCode: time 1.422e-06/0.5811, allocations: 0 / 0.5103 GB, free: 9.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3604/0.9415, allocations: 67.67 MB / 0.5764 GB, free: 121.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.71, allocations: 4 kB / 0.5764 GB, free: 121.4 MB / 430.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