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.00089/0.00089, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001921, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007252/0.0007252, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008708/0.001596, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8629/0.8629, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1406/1.003, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.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.684e-06/1.684e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.401e-05, allocations: 6.25 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01042/0.01044, allocations: 8.042 MB / 229.9 MB, free: 8.082 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006174/0.01661, allocations: 2.774 MB / 232.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.0178, allocations: 27.88 kB / 232.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.01934, allocations: 0.544 MB / 233.2 MB, free: 4.723 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.02093, allocations: 0.531 MB / 233.8 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006166/0.02155, allocations: 259.7 kB / 234 MB, free: 3.934 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002046/0.02359, allocations: 1.575 MB / 235.6 MB, free: 2.352 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007174/0.02431, allocations: 391.2 kB / 236 MB, free: 1.941 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.02609, allocations: 1.018 MB / 237 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008291/0.02692, allocations: 486.5 kB / 237.5 MB, free: 440 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002381/0.02716, allocations: 140 kB / 237.6 MB, free: 300 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.02756, allocations: 176 kB / 237.8 MB, free: 124 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.02777, allocations: 219.3 kB / 238 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007569/0.02853, allocations: 399.2 kB / 238.4 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.02981, allocations: 0.895 MB / 239.3 MB, free: 14.62 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.731e-05/0.02982, allocations: 0 / 239.3 MB, free: 14.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02982, allocations: 3.938 kB / 239.3 MB, free: 14.61 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.219e-05/0.02987, allocations: 4 kB / 239.3 MB, free: 14.61 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.002522/0.03239, allocations: 1.644 MB / 240.9 MB, free: 12.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.03242, allocations: 8.031 kB / 240.9 MB, free: 12.93 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007041/0.03313, allocations: 309.8 kB / 241.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.03424, allocations: 0.5418 MB / 241.8 MB, free: 12.03 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.04e-05/0.0343, allocations: 74 kB / 241.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.03444, allocations: 111.9 kB / 242 MB, free: 11.85 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.03554, allocations: 0.7654 MB / 242.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.071e-05/0.03558, allocations: 11.92 kB / 242.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.03565, allocations: 44 kB / 242.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.03567, allocations: 24 kB / 242.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.0362, allocations: 241.8 kB / 243 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.04101, allocations: 2.981 MB / 246 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004335/0.04144, allocations: 218.8 kB / 246.2 MB, free: 7.32 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.04179, allocations: 168.7 kB / 246.4 MB, free: 7.152 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.04184, allocations: 11.98 kB / 246.4 MB, free: 7.141 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.04187, allocations: 50.42 kB / 246.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of pre-optimization done (n=41): time 3.416e-06/0.04188, allocations: 0 / 246.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001952/0.04383, allocations: 0.7845 MB / 247.2 MB, free: 6.262 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.04386, allocations: 55.41 kB / 247.3 MB, free: 6.195 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008121/0.04467, allocations: 0.6692 MB / 248 MB, free: 5.516 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.0447, allocations: 37.64 kB / 248 MB, free: 5.473 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.04502, allocations: 0.5011 MB / 248.5 MB, free: 4.965 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.04516, allocations: 174.5 kB / 248.7 MB, free: 4.793 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.04533, allocations: 134.5 kB / 248.8 MB, free: 4.656 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.0455, allocations: 406.5 kB / 249.2 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.04563, allocations: 57.97 kB / 249.3 MB, free: 4.191 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.04595, allocations: 397.2 kB / 249.6 MB, free: 3.66 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.04648, allocations: 488.3 kB / 250.1 MB, free: 3.051 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.04649, allocations: 4 kB / 250.1 MB, free: 3.047 MB / 250.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0008148/0.0473, allocations: 494.1 kB / 250.6 MB, free: 2.551 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.04733, allocations: 11.98 kB / 250.6 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.04734, allocations: 8 kB / 250.6 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/0.04758, allocations: 82.08 kB / 250.7 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.0481, allocations: 175.7 kB / 250.9 MB, free: 2.273 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.04988, allocations: 2.6 MB / 253.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.05037, allocations: 40.14 kB / 253.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.0504, allocations: 28 kB / 253.5 MB, free: 15.43 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 (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.0002028/0.05061, allocations: 165.5 kB / 253.7 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.05068, allocations: 59.94 kB / 253.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.05102, allocations: 299.1 kB / 254.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.05103, allocations: 8 kB / 254.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.05103, allocations: 0 / 254.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.05103, allocations: 3.984 kB / 254.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008277/0.05186, allocations: 0.7713 MB / 254.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.05186, allocations: 0 / 254.8 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.05206, allocations: 83.89 kB / 254.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.05219, allocations: 75.45 kB / 255 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001207/0.05231, allocations: 57.81 kB / 255.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.05232, allocations: 11.98 kB / 255.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.05338, allocations: 2.592 MB / 257.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.05338, allocations: 7.938 kB / 257.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003814/0.05376, allocations: 486.7 kB / 258.1 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.178e-05/0.05382, allocations: 20.02 kB / 258.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.05398, allocations: 23.98 kB / 258.2 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.05403, allocations: 35.88 kB / 258.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.05405, allocations: 12 kB / 258.2 MB, free: 10.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000236/0.05428, allocations: 319.4 kB / 258.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05428, allocations: 0 / 258.5 MB, free: 10.13 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004696/0.05475, allocations: 208 kB / 258.7 MB, free: 9.93 MB / 266.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.0001345/0.05489, allocations: 104.3 kB / 258.8 MB, free: 9.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004439/0.05533, allocations: 0.5258 MB / 259.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.399e-05/0.05536, allocations: 18.31 kB / 259.4 MB, free: 9.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.05559, allocations: 371.4 kB / 259.8 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.0561, allocations: 279.5 kB / 260 MB, free: 8.586 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008739/0.06483, allocations: 1.772 MB / 261.8 MB, free: 6.746 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.06496, allocations: 191.5 kB / 262 MB, free: 6.539 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000236/0.0652, allocations: 94.69 kB / 262.1 MB, free: 6.441 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.06549, allocations: 237.1 kB / 262.3 MB, free: 6.207 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.06549, allocations: 0 / 262.3 MB, free: 6.207 MB / 266.7 MB Notification: Performance of Templates: time 0.01499/0.08048, allocations: 11.61 MB / 273.9 MB, free: 10.61 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 -ignoreHideResult -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: 2.8297660620883107]