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.00118/0.00118, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00164/0.00282, allocations: 453.8 kB / 10.46 MB, free: 236 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.001068/0.001068, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009238/0.001992, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.8434/0.8434, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1577/1.001, allocations: 49.5 MB / 220.7 MB, free: 1.352 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 2.514e-06/2.514e-06, allocations: 4 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.66e-05, allocations: 6.312 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.007026/0.007042, allocations: 8.039 MB / 230 MB, free: 7.961 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004587/0.01163, allocations: 2.782 MB / 232.8 MB, free: 5.168 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005651/0.01219, allocations: 27.88 kB / 232.8 MB, free: 5.141 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.01329, allocations: 0.544 MB / 233.4 MB, free: 4.594 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.01404, allocations: 0.531 MB / 233.9 MB, free: 4.059 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.01443, allocations: 259.6 kB / 234.2 MB, free: 3.805 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.0155, allocations: 1.566 MB / 235.7 MB, free: 2.234 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000439/0.01594, allocations: 399.1 kB / 236.1 MB, free: 1.816 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008549/0.0168, allocations: 1.018 MB / 237.1 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.01723, allocations: 490.5 kB / 237.6 MB, free: 308 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.01736, allocations: 136 kB / 237.8 MB, free: 172 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002512/0.01761, allocations: 180 kB / 237.9 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.01777, allocations: 215.2 kB / 238.1 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.01804, allocations: 399.2 kB / 238.5 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008823/0.01892, allocations: 0.8989 MB / 239.4 MB, free: 14.49 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.448e-05/0.01894, allocations: 0 / 239.4 MB, free: 14.49 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.01894, allocations: 0 / 239.4 MB, free: 14.49 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.01896, allocations: 0 / 239.4 MB, free: 14.49 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.001604/0.02056, allocations: 1.643 MB / 241.1 MB, free: 12.81 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.02059, allocations: 8.031 kB / 241.1 MB, free: 12.8 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.02101, allocations: 313.8 kB / 241.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.02161, allocations: 0.5379 MB / 241.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.02165, allocations: 77.98 kB / 242 MB, free: 11.84 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-05/0.02174, allocations: 104 kB / 242.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.02235, allocations: 0.7809 MB / 242.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.02238, allocations: 7.984 kB / 242.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.02242, allocations: 40 kB / 242.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.02243, allocations: 28 kB / 243 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.02271, allocations: 237.8 kB / 243.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002722/0.02543, allocations: 2.977 MB / 246.2 MB, free: 7.426 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.02569, allocations: 234.7 kB / 246.4 MB, free: 7.188 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.0259, allocations: 168.7 kB / 246.6 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.02593, allocations: 11.98 kB / 246.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.02595, allocations: 34.56 kB / 246.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of pre-optimization done (n=41): time 1.673e-06/0.02595, allocations: 0 / 246.6 MB, free: 6.965 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.001115/0.02706, allocations: 0.8053 MB / 247.4 MB, free: 6.121 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.02709, allocations: 55.41 kB / 247.5 MB, free: 6.055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.02756, allocations: 0.6692 MB / 248.1 MB, free: 5.375 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.02758, allocations: 33.7 kB / 248.2 MB, free: 5.336 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.02778, allocations: 0.5049 MB / 248.7 MB, free: 4.824 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/0.02787, allocations: 174.5 kB / 248.8 MB, free: 4.652 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.02797, allocations: 126.5 kB / 249 MB, free: 4.523 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.02808, allocations: 402.5 kB / 249.4 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.949e-05/0.02815, allocations: 65.95 kB / 249.4 MB, free: 4.055 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/0.02837, allocations: 389.3 kB / 249.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.02872, allocations: 0.5118 MB / 250.3 MB, free: 2.887 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.02872, allocations: 4 kB / 250.3 MB, free: 2.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0005403/0.02926, allocations: 498.4 kB / 250.8 MB, free: 2.383 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.02928, allocations: 8 kB / 250.8 MB, free: 2.375 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.02929, allocations: 12 kB / 250.8 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/0.02945, allocations: 74.02 kB / 250.9 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.02973, allocations: 175.7 kB / 251.1 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.03123, allocations: 2.611 MB / 253.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.03146, allocations: 28 kB / 253.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.03148, allocations: 36.08 kB / 253.7 MB, free: 15.27 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.0001426/0.03163, allocations: 165.5 kB / 253.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.03169, allocations: 59.94 kB / 254 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.03199, allocations: 298.8 kB / 254.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.03199, allocations: 8 kB / 254.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-06/0.03199, allocations: 0 / 254.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.032, allocations: 3.984 kB / 254.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007492/0.03275, allocations: 0.7751 MB / 255 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.03275, allocations: 4.031 kB / 255 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.03293, allocations: 83.89 kB / 255.1 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.03304, allocations: 67.48 kB / 255.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.03315, allocations: 69.55 kB / 255.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.03317, allocations: 8 kB / 255.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.03424, allocations: 2.596 MB / 257.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.03424, allocations: 3.938 kB / 257.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.03462, allocations: 478.7 kB / 258.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.03467, allocations: 12 kB / 258.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.03485, allocations: 32 kB / 258.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.0349, allocations: 39.88 kB / 258.4 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.03491, allocations: 12 kB / 258.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002412/0.03515, allocations: 327.3 kB / 258.8 MB, free: 9.953 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03515, allocations: 0 / 258.8 MB, free: 9.953 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004233/0.03558, allocations: 204 kB / 259 MB, free: 9.754 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.0004466/0.03602, allocations: 100.3 kB / 259.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00045/0.03647, allocations: 0.5463 MB / 259.6 MB, free: 9.078 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.123e-05/0.03649, allocations: 22.78 kB / 259.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.03678, allocations: 387.7 kB / 260 MB, free: 8.652 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.03784, allocations: 2.071 MB / 262.1 MB, free: 6.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008777/0.04661, allocations: 1.764 MB / 263.8 MB, free: 4.344 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.04674, allocations: 183.5 kB / 264 MB, free: 4.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002166/0.04696, allocations: 102.8 kB / 264.1 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/0.04726, allocations: 237.2 kB / 264.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.04726, allocations: 0 / 264.3 MB, free: 3.809 MB / 266.7 MB Notification: Performance of Templates: time 0.01557/0.06283, allocations: 11.3 MB / 275.6 MB, free: 8.523 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.780824334360659]