Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.001661/0.001661, allocations: 71.77 kB / 22.45 MB, free: 2.09 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.001872/0.001872, allocations: 172 kB / 25.75 MB, free: 8.961 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.9961/0.9961, allocations: 158.6 MB / 187.5 MB, free: 2.512 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_Start,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_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,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_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 251.1 MB, free: 7.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.436e-05, allocations: 2.312 kB / 251.1 MB, free: 7.766 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.006772/0.006796, allocations: 7.972 MB / 259.1 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.01048, allocations: 2.619 MB / 261.7 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.01103, allocations: 27.88 kB / 261.7 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.01209, allocations: 0.5245 MB / 262.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006727/0.01276, allocations: 0.5078 MB / 262.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.01309, allocations: 263.6 kB / 263 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009894/0.01408, allocations: 1.521 MB / 264.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004316/0.01451, allocations: 375.2 kB / 264.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006608/0.01517, allocations: 0.8651 MB / 265.8 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004116/0.01558, allocations: 470.6 kB / 266.2 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001116/0.0157, allocations: 144 kB / 266.4 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.0159, allocations: 180 kB / 266.6 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.0161, allocations: 290.8 kB / 266.8 MB, free: 7.941 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002858/0.01638, allocations: 466.9 kB / 267.3 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007989/0.01718, allocations: 0.9223 MB / 268.2 MB, free: 6.559 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.01718, allocations: 4 kB / 268.2 MB, free: 6.555 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01719, allocations: 0 / 268.2 MB, free: 6.555 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.01719, allocations: 0 / 268.2 MB, free: 6.555 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001453/0.01865, allocations: 1.519 MB / 269.7 MB, free: 4.996 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.01868, allocations: 15.98 kB / 269.8 MB, free: 4.98 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004468/0.01913, allocations: 272 kB / 270 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007548/0.01988, allocations: 0.688 MB / 270.7 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.01992, allocations: 74 kB / 270.8 MB, free: 3.922 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.463e-05/0.02002, allocations: 104 kB / 270.9 MB, free: 3.82 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008706/0.02089, allocations: 0.82 MB / 271.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.02091, allocations: 7.953 kB / 271.7 MB, free: 2.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/0.02096, allocations: 40 kB / 271.8 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.02098, allocations: 24 kB / 271.8 MB, free: 2.867 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005546/0.02154, allocations: 355.7 kB / 272.1 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003246/0.02478, allocations: 3.628 MB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.02517, allocations: 272 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.02547, allocations: 200.1 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.0255, allocations: 4.328 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.02552, allocations: 45.72 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 3.005e-06/0.02553, allocations: 3.938 kB / 276.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.001449/0.02698, allocations: 0.9971 MB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.02701, allocations: 81.11 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006312/0.02764, allocations: 0.7569 MB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.02767, allocations: 33.7 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.02796, allocations: 0.6348 MB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.132e-05/0.02804, allocations: 170.6 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.02817, allocations: 136.2 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.02835, allocations: 0.5625 MB / 279.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.02849, allocations: 85.94 kB / 279.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.02879, allocations: 0.5177 MB / 280.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007178/0.02951, allocations: 0.6367 MB / 280.9 MB, free: 9.055 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.02952, allocations: 4 kB / 280.9 MB, free: 9.051 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0006965/0.03021, allocations: 0.6439 MB / 281.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.03023, allocations: 8 kB / 281.5 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.03024, allocations: 8 kB / 281.5 MB, free: 8.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.03045, allocations: 83.58 kB / 281.6 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.03073, allocations: 151.8 kB / 281.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.03239, allocations: 3.853 MB / 285.6 MB, free: 4.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.03265, allocations: 35.95 kB / 285.6 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.03268, allocations: 32 kB / 285.7 MB, free: 3.977 MB / 266.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 (84): * Single equations (assignments): 82 * 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.000193/0.03287, allocations: 208.2 kB / 285.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.03296, allocations: 103.5 kB / 286 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.03341, allocations: 372.3 kB / 286.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.03341, allocations: 4 kB / 286.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.03341, allocations: 0 / 286.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.03342, allocations: 7.922 kB / 286.4 MB, free: 3.266 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.03462, allocations: 1.17 MB / 287.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.03463, allocations: 4 kB / 287.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.0348, allocations: 71.84 kB / 287.6 MB, free: 1.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004087/0.03521, allocations: 63.56 kB / 287.7 MB, free: 1.871 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.03523, allocations: 15.98 kB / 287.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.03674, allocations: 3.837 MB / 291.5 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.03674, allocations: 7.984 kB / 291.5 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006117/0.03735, allocations: 0.6603 MB / 292.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.03752, allocations: 115.4 kB / 292.3 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.03757, allocations: 8 kB / 292.3 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.03776, allocations: 19.98 kB / 292.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-05/0.03783, allocations: 44.02 kB / 292.4 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.03784, allocations: 12 kB / 292.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004015/0.03825, allocations: 474.9 kB / 292.8 MB, free: 12.4 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03825, allocations: 0 / 292.8 MB, free: 12.4 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000571/0.03882, allocations: 207.9 kB / 293 MB, free: 12.2 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 (38): * Single equations (assignments): 36 * 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.0002/0.03902, allocations: 119.2 kB / 293.2 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006961/0.03971, allocations: 0.6928 MB / 293.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.03972, allocations: 0 / 293.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.04005, allocations: 0.4953 MB / 294.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/0.04065, allocations: 199 kB / 294.5 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002382/0.04303, allocations: 1.624 MB / 296.2 MB, free: 8.918 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.04315, allocations: 167.3 kB / 296.3 MB, free: 8.734 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002253/0.04338, allocations: 94.67 kB / 296.4 MB, free: 8.637 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.04346, allocations: 52.5 kB / 296.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.04346, allocations: 4 kB / 296.5 MB, free: 8.578 MB / 282.7 MB Notification: Performance of Templates: time 0.01343/0.05689, allocations: 10.1 MB / 306.6 MB, free: 14.52 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_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_Start/DCSE_Start.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.1083515759091824]