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.001302/0.001302, allocations: 76.81 kB / 22.29 MB, free: 2.191 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.001611/0.001611, allocations: 158.9 kB / 25.69 MB, free: 8.77 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.8459/0.8459, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.132e-06/1.132e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.416e-05, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.006262/0.006276, allocations: 7.827 MB / 259.4 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.009169, allocations: 2.696 MB / 262.1 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003307/0.0095, allocations: 27.88 kB / 262.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.01035, allocations: 0.5362 MB / 262.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005895/0.01094, allocations: 0.5116 MB / 263.1 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.01121, allocations: 255.7 kB / 263.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009076/0.01212, allocations: 1.535 MB / 264.9 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.01251, allocations: 387.2 kB / 265.3 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006062/0.01311, allocations: 0.8612 MB / 266.2 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005249/0.01364, allocations: 486.5 kB / 266.6 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.01374, allocations: 136 kB / 266.8 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.01392, allocations: 168 kB / 266.9 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.01406, allocations: 286.9 kB / 267.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002878/0.01435, allocations: 466.9 kB / 267.7 MB, free: 7.027 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007222/0.01507, allocations: 0.9262 MB / 268.6 MB, free: 6.098 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01507, allocations: 0 / 268.6 MB, free: 6.098 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01507, allocations: 0 / 268.6 MB, free: 6.098 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.01508, allocations: 0 / 268.6 MB, free: 6.098 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.001164/0.01624, allocations: 1.363 MB / 270 MB, free: 4.707 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.01627, allocations: 23.97 kB / 270 MB, free: 4.684 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/0.01662, allocations: 224.7 kB / 270.2 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.0172, allocations: 0.5254 MB / 270.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.048e-05/0.01724, allocations: 74 kB / 270.8 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-05/0.01732, allocations: 103.9 kB / 270.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005859/0.01791, allocations: 0.7654 MB / 271.7 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.01793, allocations: 7.922 kB / 271.7 MB, free: 2.906 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.282e-05/0.01798, allocations: 44 kB / 271.7 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.01799, allocations: 24 kB / 271.7 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.01826, allocations: 237.8 kB / 272 MB, free: 2.609 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.02076, allocations: 2.942 MB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.02101, allocations: 227.4 kB / 275.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.02121, allocations: 173.2 kB / 275.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.02124, allocations: 16.31 kB / 275.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.02126, allocations: 34.89 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.793e-06/0.02126, allocations: 0 / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009711/0.02223, allocations: 0.7504 MB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.02227, allocations: 85.11 kB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.0227, allocations: 0.6574 MB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.02272, allocations: 33.7 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.0229, allocations: 0.4927 MB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/0.02297, allocations: 166.6 kB / 277.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.02307, allocations: 134.5 kB / 277.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.02318, allocations: 390.6 kB / 278 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.02325, allocations: 73.91 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.02345, allocations: 389.7 kB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.02376, allocations: 490.2 kB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.02376, allocations: 0 / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0004286/0.02419, allocations: 490.1 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.0242, allocations: 12 kB / 279.5 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.02421, allocations: 8 kB / 279.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001433/0.02435, allocations: 81.97 kB / 279.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.02459, allocations: 143.8 kB / 279.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.02591, allocations: 2.596 MB / 282.3 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.02611, allocations: 31.94 kB / 282.3 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.02614, allocations: 32.09 kB / 282.4 MB, free: 7.445 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.0001399/0.02628, allocations: 165.5 kB / 282.5 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.88e-05/0.02634, allocations: 55.94 kB / 282.6 MB, free: 7.219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.02662, allocations: 294.8 kB / 282.9 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.02662, allocations: 8 kB / 282.9 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.02662, allocations: 4 kB / 282.9 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.02663, allocations: 3.984 kB / 282.9 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/0.02736, allocations: 0.7675 MB / 283.6 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.02737, allocations: 4.031 kB / 283.6 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.02751, allocations: 63.91 kB / 283.7 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/0.02763, allocations: 57.62 kB / 283.8 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.02765, allocations: 15.98 kB / 283.8 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.02866, allocations: 2.6 MB / 286.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.02866, allocations: 3.938 kB / 286.4 MB, free: 3.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.02902, allocations: 474.3 kB / 286.8 MB, free: 2.652 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.02914, allocations: 75.47 kB / 286.9 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.02918, allocations: 8 kB / 286.9 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.02935, allocations: 32.02 kB / 287 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.02939, allocations: 39.81 kB / 287 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.0294, allocations: 12 kB / 287 MB, free: 2.488 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002307/0.02963, allocations: 315.3 kB / 287.3 MB, free: 2.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02963, allocations: 0 / 287.3 MB, free: 2.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004206/0.03006, allocations: 200 kB / 287.5 MB, free: 1.984 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 (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.0002637/0.03032, allocations: 96.36 kB / 287.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004323/0.03075, allocations: 0.5345 MB / 288.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/0.03077, allocations: 12.5 kB / 288.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.03099, allocations: 359.5 kB / 288.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.03147, allocations: 218.4 kB / 288.7 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.03315, allocations: 1.548 MB / 290.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.03325, allocations: 171.3 kB / 290.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.03344, allocations: 98.67 kB / 290.5 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.03372, allocations: 237.1 kB / 290.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.03372, allocations: 0 / 290.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of Templates: time 0.01351/0.04722, allocations: 10.83 MB / 301.6 MB, free: 3.797 MB / 282.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: 2.726176311727613]