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.001236/0.001236, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.007864/0.007864, allocations: 162.9 kB / 24.69 MB, free: 9.41 MB / 18.57 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 0.9105/0.9105, allocations: 158.6 MB / 186.5 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 298.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.225e-05, allocations: 2.281 kB / 298.5 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.1531/0.1531, allocations: 10.32 MB / 308.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004622/0.1577, allocations: 3.624 MB / 312.4 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006915/0.1584, allocations: 78.03 kB / 312.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.1598, allocations: 0.8716 MB / 313.3 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.1614, allocations: 1.178 MB / 314.5 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.1621, allocations: 0.5001 MB / 315 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.165, allocations: 4.398 MB / 319.4 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.1667, allocations: 1.733 MB / 321.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002505/0.1692, allocations: 2.819 MB / 324 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.1714, allocations: 2.086 MB / 326.1 MB, free: 360 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005282/0.1719, allocations: 0.4965 MB / 326.6 MB, free: 360 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007523/0.1727, allocations: 0.5753 MB / 327.1 MB, free: 320 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009865/0.1736, allocations: 1.456 MB / 328.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.1749, allocations: 1.529 MB / 330.1 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.1793, allocations: 6.67 MB / 336.8 MB, free: 8.379 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1793, allocations: 4 kB / 336.8 MB, free: 8.375 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1793, allocations: 0 / 336.8 MB, free: 8.375 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.625e-05/0.1794, allocations: 1.875 kB / 336.8 MB, free: 8.375 MB / 298.7 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.004925/0.1843, allocations: 4.285 MB / 341.1 MB, free: 4.039 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1843, allocations: 11.98 kB / 341.1 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003903/0.1847, allocations: 442.6 kB / 341.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005929/0.1853, allocations: 454.3 kB / 342 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.1877, allocations: 2.199 MB / 344.2 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.1878, allocations: 234.7 kB / 344.4 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.1881, allocations: 315.9 kB / 344.7 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004545/0.1926, allocations: 4.591 MB / 349.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.159e-05/0.1927, allocations: 4 kB / 349.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.1929, allocations: 128 kB / 349.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.06e-05/0.193, allocations: 137.9 kB / 349.6 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004078/0.197, allocations: 3.763 MB / 353.3 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/0.2092, allocations: 12.21 MB / 365.5 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.2116, allocations: 2.09 MB / 367.6 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.2132, allocations: 1.567 MB / 369.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.2134, allocations: 46.31 kB / 369.2 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.2135, allocations: 55.88 kB / 369.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of pre-optimization done (n=164): time 3.937e-06/0.2135, allocations: 0 / 369.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.01074/0.2242, allocations: 8.565 MB / 377.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.2243, allocations: 77.33 kB / 377.9 MB, free: 14.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.2265, allocations: 2.381 MB / 380.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/0.2265, allocations: 57.7 kB / 380.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008492/0.2274, allocations: 1.497 MB / 381.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.2277, allocations: 0.6313 MB / 382.5 MB, free: 9.938 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/0.2281, allocations: 363.5 kB / 382.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.2282, allocations: 309 kB / 383.2 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.2293, allocations: 1.12 MB / 384.3 MB, free: 8.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.2306, allocations: 1.574 MB / 385.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/0.2334, allocations: 2.788 MB / 388.6 MB, free: 3.445 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.2334, allocations: 4 kB / 388.6 MB, free: 3.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.003921/0.2373, allocations: 3.59 MB / 392.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.2373, allocations: 8.5 kB / 392.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.2374, allocations: 20 kB / 392.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001277/0.2386, allocations: 0.7942 MB / 393 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009246/0.2396, allocations: 459.3 kB / 393.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007015/0.2466, allocations: 10.57 MB / 404.1 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009949/0.2476, allocations: 127.8 kB / 404.2 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.73e-05/0.2477, allocations: 76 kB / 404.3 MB, free: 3.188 MB / 362.7 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.001441/0.2491, allocations: 1.087 MB / 405.4 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.2494, allocations: 258.4 kB / 405.6 MB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.2528, allocations: 3.289 MB / 408.9 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.2528, allocations: 19.94 kB / 408.9 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.2528, allocations: 8 kB / 408.9 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.2528, allocations: 7.969 kB / 408.9 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006993/0.2598, allocations: 6.43 MB / 415.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.2598, allocations: 4 kB / 415.4 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/0.2605, allocations: 295.8 kB / 415.7 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.2619, allocations: 0.9252 MB / 416.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.312e-05/0.262, allocations: 39.98 kB / 416.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008593/0.2706, allocations: 13.78 MB / 430.4 MB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.2706, allocations: 4 kB / 430.4 MB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005256/0.2759, allocations: 4.851 MB / 435.3 MB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009059/0.2768, allocations: 0.5138 MB / 435.8 MB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.277, allocations: 36 kB / 435.8 MB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006677/0.2776, allocations: 119.9 kB / 435.9 MB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.2779, allocations: 169.6 kB / 436.1 MB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/0.278, allocations: 48 kB / 436.1 MB, free: 2.254 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00181/0.2798, allocations: 1.629 MB / 437.8 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2798, allocations: 0 / 437.8 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001868/0.2816, allocations: 0.7072 MB / 438.5 MB, free: 15.9 MB / 410.7 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.005085/0.2867, allocations: 5.516 MB / 444 MB, free: 10.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003789/0.2905, allocations: 3.337 MB / 447.3 MB, free: 6.898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.2905, allocations: 0 / 447.3 MB, free: 6.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.2927, allocations: 2.354 MB / 449.7 MB, free: 4.457 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.2946, allocations: 0.7144 MB / 450.4 MB, free: 3.742 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1707/0.4653, allocations: 26.34 MB / 476.7 MB, free: 135.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.4671, allocations: 1.977 MB / 478.7 MB, free: 135.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001297/0.4684, allocations: 0.5845 MB / 479.3 MB, free: 135.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009688/0.4693, allocations: 1.261 MB / 480.5 MB, free: 134.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.4693, allocations: 0 / 480.5 MB, free: 134.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08054/0.5499, allocations: 70.96 MB / 0.5386 GB, free: 76.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.443/9.993, allocations: 7.875 kB / 0.5386 GB, free: 76 MB / 426.7 MB " [Timeout remaining time 650] (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/jenkins/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/jenkins/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: 13.719759845174849]