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.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.001572/0.001572, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002154/0.002154, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.725/1.725, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.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.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"}) [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.001847/0.001847, allocations: 62.72 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3441, allocations: 49.15 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.0134/0.3575, allocations: 11.87 MB / 408.2 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009912/0.3674, allocations: 3.817 MB / 412 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004653/0.3721, allocations: 78.06 kB / 412.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003536/0.3756, allocations: 0.9269 MB / 413 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005339/0.381, allocations: 1.139 MB / 414.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002046/0.383, allocations: 0.5165 MB / 414.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007304/0.3903, allocations: 4.266 MB / 419 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004427/0.3948, allocations: 1.786 MB / 420.8 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00423/0.399, allocations: 1.935 MB / 422.7 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006288/0.4053, allocations: 2.388 MB / 425.1 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002909/0.4082, allocations: 0.497 MB / 425.6 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.4117, allocations: 0.5893 MB / 426.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00321/0.4149, allocations: 1.418 MB / 427.6 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006115/0.421, allocations: 2.209 MB / 429.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01241/0.4334, allocations: 6.576 MB / 436.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.4334, allocations: 0 / 436.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4334, allocations: 0 / 436.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002847/0.4337, allocations: 4 kB / 436.4 MB, free: 11.14 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01521/0.4489, allocations: 4.321 MB / 440.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.449, allocations: 15.98 kB / 440.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001706/0.4507, allocations: 438.6 kB / 441.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/0.4529, allocations: 458.3 kB / 441.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006884/0.4598, allocations: 2.199 MB / 443.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.4601, allocations: 234.1 kB / 444 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001395/0.4615, allocations: 311.9 kB / 444.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01355/0.4751, allocations: 4.365 MB / 448.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000222/0.4753, allocations: 7.938 kB / 448.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/0.4765, allocations: 128 kB / 448.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002098/0.4767, allocations: 126 kB / 448.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009361/0.4861, allocations: 3.775 MB / 452.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03183/0.5179, allocations: 13.26 MB / 466 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004091/0.522, allocations: 2.093 MB / 468.1 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003346/0.5253, allocations: 1.57 MB / 469.6 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/0.5257, allocations: 57.27 kB / 469.7 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/0.5257, allocations: 51.88 kB / 469.7 MB, free: 9.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=164): time 5.21e-06/0.5257, allocations: 0 / 469.7 MB, free: 9.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=180): time 0.02147/0.5472, allocations: 8.569 MB / 478.3 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.5473, allocations: 69.41 kB / 478.4 MB, free: 488 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005428/0.5527, allocations: 2.365 MB / 480.7 MB, free: 14.08 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004077/0.5531, allocations: 61.64 kB / 480.8 MB, free: 14.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.5547, allocations: 1.505 MB / 482.3 MB, free: 12.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009721/0.5557, allocations: 0.6275 MB / 482.9 MB, free: 11.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.5568, allocations: 371.4 kB / 483.3 MB, free: 11.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5569, allocations: 301.1 kB / 483.6 MB, free: 11.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002271/0.5592, allocations: 1.12 MB / 484.7 MB, free: 10.08 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002731/0.5619, allocations: 1.574 MB / 486.3 MB, free: 8.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004916/0.5668, allocations: 2.788 MB / 489.1 MB, free: 5.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.173e-05/0.5669, allocations: 4 kB / 489.1 MB, free: 5.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.008156/0.575, allocations: 3.578 MB / 492.7 MB, free: 1.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.5751, allocations: 19.92 kB / 492.7 MB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-05/0.5751, allocations: 12.5 kB / 492.7 MB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/0.5774, allocations: 0.802 MB / 493.5 MB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/0.5792, allocations: 467.2 kB / 494 MB, free: 452 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/0.5917, allocations: 10.66 MB / 0.4928 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/0.5942, allocations: 119.9 kB / 0.4929 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004767/0.5947, allocations: 79.98 kB / 0.493 GB, free: 5.008 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.003198/0.5979, allocations: 1.087 MB / 0.494 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/0.5989, allocations: 262.3 kB / 0.4943 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00697/0.6058, allocations: 3.293 MB / 0.4975 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/0.6059, allocations: 16 kB / 0.4975 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.856e-05/0.6059, allocations: 8 kB / 0.4975 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/0.6059, allocations: 11.95 kB / 0.4975 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/0.6217, allocations: 6.804 MB / 0.5042 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.6218, allocations: 4 kB / 0.5042 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.6231, allocations: 299.8 kB / 0.5045 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002655/0.6258, allocations: 0.9236 MB / 0.5054 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/0.626, allocations: 43.97 kB / 0.5054 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/0.6416, allocations: 13.88 MB / 0.519 GB, free: 9.398 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6417, allocations: 4.031 kB / 0.519 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008763/0.6504, allocations: 4.862 MB / 0.5237 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00236/0.6528, allocations: 0.5099 MB / 0.5242 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005575/0.6533, allocations: 43.92 kB / 0.5243 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/0.6548, allocations: 115.9 kB / 0.5244 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005409/0.6554, allocations: 165.7 kB / 0.5245 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/0.6555, allocations: 47.98 kB / 0.5246 GB, free: 3.586 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00296/0.6585, allocations: 1.629 MB / 0.5262 GB, free: 1.941 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.6585, allocations: 0 / 0.5262 GB, free: 1.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002763/0.6612, allocations: 0.711 MB / 0.5269 GB, free: 1.23 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.008689/0.6699, allocations: 5.521 MB / 0.5322 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006278/0.6762, allocations: 3.33 MB / 0.5355 GB, free: 8.234 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/0.6762, allocations: 4.062 kB / 0.5355 GB, free: 8.23 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003941/0.6801, allocations: 2.354 MB / 0.5378 GB, free: 5.785 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/0.6837, allocations: 0.7063 MB / 0.5385 GB, free: 5.074 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2652/0.949, allocations: 26.38 MB / 0.5643 GB, free: 143.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002767/0.9517, allocations: 2.513 MB / 0.5667 GB, free: 142.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002275/0.954, allocations: 0.5881 MB / 0.5673 GB, free: 142.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/0.9558, allocations: 1.26 MB / 0.5685 GB, free: 142.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/0.9558, allocations: 0 / 0.5685 GB, free: 142.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.147/1.103, allocations: 68.81 MB / 0.6357 GB, free: 86.29 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/17.65, allocations: 3.938 kB / 0.6357 GB, free: 86.29 MB / 478.1 MB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 23.543664725963026]