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.002204/0.002204, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002875/0.002875, allocations: 167.2 kB / 25.02 MB, free: 8.383 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 1.571/1.571, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 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: 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 2.605e-06/2.605e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.833e-05/4.094e-05, allocations: 2.312 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01759/0.01763, allocations: 7.223 MB / 257.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008761/0.02639, allocations: 2.561 MB / 260.2 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009352/0.02732, allocations: 27.88 kB / 260.2 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002481/0.0298, allocations: 0.5284 MB / 260.7 MB, free: 9.531 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002197/0.032, allocations: 0.5194 MB / 261.2 MB, free: 9.008 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009724/0.03297, allocations: 267.6 kB / 261.5 MB, free: 8.746 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00311/0.03608, allocations: 1.564 MB / 263.1 MB, free: 7.172 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.03718, allocations: 371.3 kB / 263.4 MB, free: 6.785 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.03909, allocations: 0.869 MB / 264.3 MB, free: 5.914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.04025, allocations: 462.5 kB / 264.7 MB, free: 5.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003343/0.04058, allocations: 144 kB / 264.9 MB, free: 5.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000622/0.0412, allocations: 179.9 kB / 265.1 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004663/0.04167, allocations: 290.9 kB / 265.3 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001072/0.04274, allocations: 470.8 kB / 265.8 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003849/0.04659, allocations: 1.756 MB / 267.6 MB, free: 2.637 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.04659, allocations: 0 / 267.6 MB, free: 2.637 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.0466, allocations: 0 / 267.6 MB, free: 2.637 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.575e-05/0.04662, allocations: 0 / 267.6 MB, free: 2.637 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.004648/0.05127, allocations: 1.434 MB / 269 MB, free: 1.168 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.05132, allocations: 11.98 kB / 269 MB, free: 1.156 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.05276, allocations: 280 kB / 269.3 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.05527, allocations: 0.7088 MB / 270 MB, free: 148 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.0554, allocations: 74 kB / 270.1 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/0.05571, allocations: 104 kB / 270.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.05916, allocations: 1.043 MB / 271.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.324e-05/0.05922, allocations: 0 / 271.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.05938, allocations: 44 kB / 271.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.05943, allocations: 27.98 kB / 271.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.06208, allocations: 0.652 MB / 271.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.07292, allocations: 3.448 MB / 275.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/0.07433, allocations: 350.7 kB / 275.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.07558, allocations: 264.6 kB / 276 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.07564, allocations: 8 kB / 276 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.332e-05/0.0757, allocations: 38.56 kB / 276 MB, free: 9.836 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 4.078e-06/0.0757, allocations: 0 / 276 MB, free: 9.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.006201/0.0819, allocations: 1.337 MB / 277.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.08202, allocations: 81.11 kB / 277.4 MB, free: 8.367 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.08428, allocations: 0.7817 MB / 278.2 MB, free: 7.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.733e-05/0.08436, allocations: 33.7 kB / 278.2 MB, free: 7.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009092/0.08526, allocations: 0.593 MB / 278.8 MB, free: 6.938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.08556, allocations: 166.5 kB / 279 MB, free: 6.773 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/0.08594, allocations: 134.6 kB / 279.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004084/0.08635, allocations: 386.8 kB / 279.5 MB, free: 6.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007949/0.08715, allocations: 177.9 kB / 279.7 MB, free: 6.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.08844, allocations: 493.3 kB / 280.2 MB, free: 5.457 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.09064, allocations: 0.6797 MB / 280.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/0.09065, allocations: 4 kB / 280.8 MB, free: 4.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003136/0.09379, allocations: 0.8182 MB / 281.7 MB, free: 3.809 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.09382, allocations: 8 kB / 281.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.175e-05/0.09386, allocations: 15.98 kB / 281.7 MB, free: 3.785 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/0.09444, allocations: 89.92 kB / 281.8 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.09556, allocations: 155.7 kB / 281.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004706/0.1003, allocations: 2.878 MB / 284.8 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.1014, allocations: 39.94 kB / 284.8 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.1015, allocations: 36 kB / 284.9 MB, free: 392 kB / 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.0007405/0.1022, allocations: 257.6 kB / 285.1 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003941/0.1026, allocations: 99.55 kB / 285.2 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.1043, allocations: 0.4949 MB / 285.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1043, allocations: 7.938 kB / 285.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1043, allocations: 0 / 285.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.1044, allocations: 12.02 kB / 285.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.1079, allocations: 1.227 MB / 287 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.1079, allocations: 4.219 kB / 287 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/0.1084, allocations: 75.89 kB / 287 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003624/0.1087, allocations: 81.69 kB / 287.1 MB, free: 14.03 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/0.1088, allocations: 15.98 kB / 287.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003277/0.1121, allocations: 2.854 MB / 290 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1121, allocations: 8.094 kB / 290 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.1138, allocations: 0.8105 MB / 290.8 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.1142, allocations: 123.4 kB / 290.9 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.1143, allocations: 8 kB / 290.9 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000534/0.1149, allocations: 32.09 kB / 291 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.115, allocations: 35.88 kB / 291 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.115, allocations: 20 kB / 291 MB, free: 9.883 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000991/0.116, allocations: 0.5147 MB / 291.5 MB, free: 9.375 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.116, allocations: 0 / 291.5 MB, free: 9.375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001015/0.117, allocations: 208 kB / 291.7 MB, free: 9.172 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.000276/0.1173, allocations: 135 kB / 291.9 MB, free: 9.027 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.1188, allocations: 0.6847 MB / 292.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1188, allocations: 0 / 292.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008355/0.1196, allocations: 449.9 kB / 293 MB, free: 7.855 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.1208, allocations: 202.3 kB / 293.2 MB, free: 7.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.1244, allocations: 1.69 MB / 294.9 MB, free: 5.914 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.125, allocations: 426.4 kB / 295.3 MB, free: 5.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004536/0.1254, allocations: 94.69 kB / 295.4 MB, free: 5.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.1256, allocations: 56.48 kB / 295.5 MB, free: 5.312 MB / 282.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1256, allocations: 0 / 295.5 MB, free: 5.312 MB / 282.7 MB Notification: Performance of Templates: time 0.1155/0.241, allocations: 10.28 MB / 305.7 MB, free: 54.59 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.000001645064913]