Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.001398/0.001398, allocations: 79.73 kB / 21.97 MB, free: 2.59 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.001544/0.001544, allocations: 165.5 kB / 25.32 MB, free: 9.465 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.9501/0.9501, allocations: 158.6 MB / 187.2 MB, free: 2.527 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: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 251.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.614e-05, allocations: 2.312 kB / 251.1 MB, free: 3.578 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.006445/0.006471, allocations: 8.142 MB / 259.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00378/0.01025, allocations: 2.689 MB / 261.9 MB, free: 8.695 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006892/0.01094, allocations: 35.88 kB / 261.9 MB, free: 8.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.01213, allocations: 0.5207 MB / 262.4 MB, free: 8.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009421/0.01307, allocations: 0.531 MB / 263 MB, free: 7.602 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.01349, allocations: 259.6 kB / 263.2 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.01482, allocations: 1.563 MB / 264.8 MB, free: 5.773 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005025/0.01532, allocations: 375.3 kB / 265.2 MB, free: 5.383 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009551/0.01628, allocations: 0.8846 MB / 266 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005862/0.01686, allocations: 482.5 kB / 266.5 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.01702, allocations: 140 kB / 266.6 MB, free: 3.887 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/0.01729, allocations: 175.9 kB / 266.8 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.01743, allocations: 298.9 kB / 267.1 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003726/0.01781, allocations: 470.8 kB / 267.6 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009702/0.01878, allocations: 0.9418 MB / 268.5 MB, free: 2.016 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.01878, allocations: 0 / 268.5 MB, free: 2.016 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01878, allocations: 0 / 268.5 MB, free: 2.016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.529e-05/0.01881, allocations: 0 / 268.5 MB, free: 2.016 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001727/0.02053, allocations: 1.534 MB / 270 MB, free: 452 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.02058, allocations: 15.98 kB / 270.1 MB, free: 436 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004733/0.02106, allocations: 280 kB / 270.3 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008028/0.02186, allocations: 0.6849 MB / 271 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.0219, allocations: 81.98 kB / 271.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.484e-05/0.02199, allocations: 96 kB / 271.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009154/0.02291, allocations: 0.8278 MB / 272 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.02294, allocations: 7.953 kB / 272 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/0.02299, allocations: 40 kB / 272.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.02301, allocations: 24 kB / 272.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005692/0.02358, allocations: 371.6 kB / 272.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.02677, allocations: 3.648 MB / 276.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.02718, allocations: 271.2 kB / 276.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.02749, allocations: 198.4 kB / 276.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/0.02752, allocations: 8 kB / 276.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.02755, allocations: 45.36 kB / 276.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.02755, allocations: 4 kB / 276.6 MB, free: 9.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.001612/0.02917, allocations: 1.046 MB / 277.7 MB, free: 8.453 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.02921, allocations: 85.11 kB / 277.7 MB, free: 8.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.02986, allocations: 0.7764 MB / 278.5 MB, free: 7.562 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.02989, allocations: 29.7 kB / 278.6 MB, free: 7.527 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.03022, allocations: 0.6504 MB / 279.2 MB, free: 6.867 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.777e-05/0.03031, allocations: 166.6 kB / 279.4 MB, free: 6.703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.03044, allocations: 140.2 kB / 279.5 MB, free: 6.559 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.03061, allocations: 0.5664 MB / 280.1 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.03075, allocations: 85.92 kB / 280.2 MB, free: 5.898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.03106, allocations: 0.5213 MB / 280.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/0.03156, allocations: 0.6461 MB / 281.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.03157, allocations: 0 / 281.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00074/0.03231, allocations: 0.6635 MB / 282 MB, free: 3.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.03233, allocations: 8 kB / 282 MB, free: 3.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.03234, allocations: 8 kB / 282 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/0.03255, allocations: 75.59 kB / 282.1 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.03284, allocations: 155.7 kB / 282.2 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.03459, allocations: 3.857 MB / 286.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.03489, allocations: 39.89 kB / 286.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.03492, allocations: 36 kB / 286.2 MB, free: 15.25 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (85): * Single equations (assignments): 83 * 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002078/0.03513, allocations: 212.3 kB / 286.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/0.03522, allocations: 95.48 kB / 286.5 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.03569, allocations: 380.5 kB / 286.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.03569, allocations: 4 kB / 286.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.03569, allocations: 128 / 286.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.0357, allocations: 7.984 kB / 286.8 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.03691, allocations: 1.177 MB / 288 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.03691, allocations: 0 / 288 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.03709, allocations: 72.11 kB / 288.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001517/0.03724, allocations: 79.2 kB / 288.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.03726, allocations: 8 kB / 288.2 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/0.03888, allocations: 3.845 MB / 292 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.03888, allocations: 0 / 292 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006238/0.0395, allocations: 0.676 MB / 292.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.03967, allocations: 119.4 kB / 292.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.03973, allocations: 11.98 kB / 292.8 MB, free: 8.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.03992, allocations: 27.98 kB / 292.9 MB, free: 8.137 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.03998, allocations: 35.94 kB / 292.9 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.04, allocations: 16 kB / 292.9 MB, free: 8.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000409/0.04041, allocations: 486.8 kB / 293.4 MB, free: 7.617 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04041, allocations: 0 / 293.4 MB, free: 7.617 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005635/0.04097, allocations: 211.9 kB / 293.6 MB, free: 7.41 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (39): * Single equations (assignments): 37 * 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,5,100.0%), (1,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.0001967/0.04117, allocations: 127.1 kB / 293.7 MB, free: 7.273 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000685/0.04185, allocations: 0.6849 MB / 294.4 MB, free: 6.555 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.04186, allocations: 0 / 294.4 MB, free: 6.555 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.04218, allocations: 0.4921 MB / 294.9 MB, free: 6.023 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.04276, allocations: 209.8 kB / 295.1 MB, free: 5.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/0.04494, allocations: 1.643 MB / 296.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.04505, allocations: 171.5 kB / 296.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002565/0.04531, allocations: 106.6 kB / 297 MB, free: 3.805 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.04541, allocations: 56.48 kB / 297.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.04541, allocations: 0 / 297.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of Templates: time 0.108/0.1534, allocations: 10.93 MB / 308 MB, free: 51.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1050257328897715]