Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009654/0.0009654, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.006/1.006, allocations: 177 MB / 205.2 MB, free: 5.055 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 273.4 MB, free: 1.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.077e-05, allocations: 6.312 kB / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.006499/0.00652, allocations: 8.058 MB / 281.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004358/0.01088, allocations: 2.765 MB / 284.3 MB, free: 6.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008087/0.01169, allocations: 35.88 kB / 284.3 MB, free: 6.098 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.0129, allocations: 0.5439 MB / 284.8 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.01396, allocations: 0.5271 MB / 285.4 MB, free: 5.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.0144, allocations: 279.6 kB / 285.6 MB, free: 4.746 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.01571, allocations: 1.567 MB / 287.2 MB, free: 3.172 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004942/0.0162, allocations: 391.2 kB / 287.6 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009882/0.01719, allocations: 0.8846 MB / 288.5 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005569/0.01775, allocations: 490.6 kB / 289 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.0179, allocations: 140 kB / 289.1 MB, free: 1.258 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.01818, allocations: 184 kB / 289.3 MB, free: 1.078 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.01831, allocations: 290.8 kB / 289.6 MB, free: 0.793 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.01866, allocations: 470.8 kB / 290 MB, free: 340 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1104/0.129, allocations: 0.9395 MB / 291 MB, free: 18.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.129, allocations: 2.641 kB / 291 MB, free: 18.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.129, allocations: 0.5469 kB / 291 MB, free: 18.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.95e-05/0.1291, allocations: 0 / 291 MB, free: 18.94 MB / 266.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.002729/0.1318, allocations: 1.396 MB / 292.4 MB, free: 18.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.1319, allocations: 13.64 kB / 292.4 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008918/0.1328, allocations: 244 kB / 292.6 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.134, allocations: 0.5396 MB / 293.1 MB, free: 17.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.494e-05/0.1341, allocations: 75.78 kB / 293.2 MB, free: 17.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.1342, allocations: 109.8 kB / 293.3 MB, free: 17.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.1356, allocations: 0.7739 MB / 294.1 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/0.1356, allocations: 4.812 kB / 294.1 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.448e-05/0.1357, allocations: 38.03 kB / 294.1 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/0.1357, allocations: 26.11 kB / 294.2 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006659/0.1364, allocations: 242.1 kB / 294.4 MB, free: 17.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/0.141, allocations: 2.962 MB / 297.4 MB, free: 16.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.1415, allocations: 237.1 kB / 297.6 MB, free: 16.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.1419, allocations: 171.6 kB / 297.8 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.1419, allocations: 8.391 kB / 297.8 MB, free: 16.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1419, allocations: 41.19 kB / 297.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 2.215e-06/0.1419, allocations: 0.5312 kB / 297.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.00206/0.144, allocations: 0.7888 MB / 298.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.144, allocations: 83.66 kB / 298.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009523/0.145, allocations: 0.6721 MB / 299.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.145, allocations: 39.2 kB / 299.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.1453, allocations: 0.5003 MB / 299.9 MB, free: 15.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.1454, allocations: 169.3 kB / 300.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/0.1456, allocations: 138.9 kB / 300.2 MB, free: 15.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1457, allocations: 398.3 kB / 300.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.1459, allocations: 60.81 kB / 300.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.1462, allocations: 393.9 kB / 301 MB, free: 14.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/0.1467, allocations: 499 kB / 301.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.278e-06/0.1467, allocations: 3.344 kB / 301.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009368/0.1476, allocations: 489.8 kB / 302 MB, free: 13.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.1477, allocations: 9.547 kB / 302 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.1477, allocations: 12.91 kB / 302 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/0.148, allocations: 68.16 kB / 302.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.1485, allocations: 164.8 kB / 302.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.15, allocations: 2.595 MB / 304.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.1506, allocations: 37.25 kB / 304.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.1506, allocations: 29.98 kB / 304.9 MB, free: 11.49 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.0002797/0.1509, allocations: 159.6 kB / 305.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.151, allocations: 69.08 kB / 305.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004963/0.1515, allocations: 307.5 kB / 305.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.1515, allocations: 5.344 kB / 305.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1515, allocations: 2 kB / 305.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1515, allocations: 1.219 kB / 305.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.153, allocations: 0.7789 MB / 306.2 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.153, allocations: 2.125 kB / 306.2 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.1533, allocations: 76 kB / 306.3 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.1535, allocations: 58.84 kB / 306.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.1535, allocations: 7.5 kB / 306.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.1549, allocations: 2.591 MB / 309 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1549, allocations: 2.969 kB / 309 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.1555, allocations: 486.6 kB / 309.4 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.1558, allocations: 73.23 kB / 309.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.814e-05/0.1558, allocations: 12.12 kB / 309.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.1562, allocations: 22.84 kB / 309.5 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.935e-05/0.1563, allocations: 42.45 kB / 309.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.1563, allocations: 7.531 kB / 309.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004296/0.1567, allocations: 332.9 kB / 309.9 MB, free: 8.285 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1567, allocations: 0 / 309.9 MB, free: 8.285 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009345/0.1576, allocations: 209.2 kB / 310.1 MB, free: 8.281 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.000208/0.1579, allocations: 113.3 kB / 310.2 MB, free: 8.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007356/0.1586, allocations: 0.5411 MB / 310.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.322e-05/0.1586, allocations: 10.84 kB / 310.8 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.159, allocations: 368 kB / 311.1 MB, free: 7.723 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008159/0.1598, allocations: 206.2 kB / 311.3 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.1627, allocations: 1.587 MB / 312.9 MB, free: 6.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.1629, allocations: 170 kB / 313.1 MB, free: 6.754 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000341/0.1632, allocations: 99.81 kB / 313.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003881/0.1636, allocations: 234.1 kB / 313.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1636, allocations: 0 / 313.4 MB, free: 6.676 MB / 266.7 MB Notification: Performance of Templates: time 0.01488/0.1785, allocations: 11.06 MB / 324.5 MB, free: 12.78 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.0704394089989364]