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.002779/0.002779, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002347/0.002347, allocations: 166.2 kB / 25.03 MB, free: 8.414 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.354/1.354, allocations: 158.6 MB / 186.8 MB, free: 2.91 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.094e-06/2.094e-06, allocations: 0 / 250.4 MB, free: 3.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.05e-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.01651/0.01654, allocations: 8.068 MB / 258.4 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007607/0.02415, allocations: 2.67 MB / 261.1 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.02538, allocations: 27.88 kB / 261.1 MB, free: 9.105 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002334/0.02772, allocations: 0.5323 MB / 261.7 MB, free: 8.57 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.02985, allocations: 0.5271 MB / 262.2 MB, free: 8.039 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008612/0.03072, allocations: 267.6 kB / 262.5 MB, free: 7.777 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003114/0.03383, allocations: 1.56 MB / 264 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.03494, allocations: 375.3 kB / 264.4 MB, free: 5.816 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002048/0.03699, allocations: 0.8768 MB / 265.3 MB, free: 4.938 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.03822, allocations: 482.6 kB / 265.7 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003326/0.03855, allocations: 140 kB / 265.9 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.03914, allocations: 184 kB / 266.1 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004046/0.03955, allocations: 294.8 kB / 266.3 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.04067, allocations: 478.8 kB / 266.8 MB, free: 3.391 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00343/0.0441, allocations: 1.768 MB / 268.6 MB, free: 1.617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.0441, allocations: 0 / 268.6 MB, free: 1.617 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.0441, allocations: 3.938 kB / 268.6 MB, free: 1.613 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.246e-05/0.04414, allocations: 4 kB / 268.6 MB, free: 1.609 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.004625/0.04876, allocations: 1.632 MB / 270.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.04881, allocations: 11.98 kB / 270.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.05011, allocations: 280 kB / 270.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.05221, allocations: 0.7192 MB / 271.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.05232, allocations: 74 kB / 271.3 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.05257, allocations: 104 kB / 271.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.0555, allocations: 1.109 MB / 272.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.185e-05/0.05555, allocations: 7.938 kB / 272.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.05568, allocations: 40 kB / 272.5 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/0.05573, allocations: 24 kB / 272.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.0578, allocations: 0.6169 MB / 273.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01058/0.06839, allocations: 4.75 MB / 277.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.06949, allocations: 347.3 kB / 278.3 MB, free: 7.461 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009602/0.07045, allocations: 270.5 kB / 278.5 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-05/0.07051, allocations: 12 kB / 278.6 MB, free: 7.184 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.209e-05/0.07057, allocations: 49.16 kB / 278.6 MB, free: 7.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=41): time 3.607e-06/0.07057, allocations: 0 / 278.6 MB, free: 7.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.004674/0.07525, allocations: 1.307 MB / 279.9 MB, free: 5.777 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.07535, allocations: 89.05 kB / 280 MB, free: 5.672 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/0.07785, allocations: 1.011 MB / 281 MB, free: 4.648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/0.07792, allocations: 37.7 kB / 281 MB, free: 4.605 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009267/0.07884, allocations: 0.6855 MB / 281.7 MB, free: 3.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.07911, allocations: 178.6 kB / 281.9 MB, free: 3.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00039/0.0795, allocations: 168.2 kB / 282.1 MB, free: 3.562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0006284/0.08012, allocations: 0.6133 MB / 282.7 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000592/0.08072, allocations: 165.9 kB / 282.8 MB, free: 2.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.08191, allocations: 0.6111 MB / 283.5 MB, free: 1.973 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.0838, allocations: 0.8103 MB / 284.3 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.08381, allocations: 4 kB / 284.3 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002525/0.08634, allocations: 0.8082 MB / 285.1 MB, free: 156 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.08637, allocations: 8 kB / 285.1 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.08639, allocations: 15.94 kB / 285.1 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004679/0.08686, allocations: 87.33 kB / 285.2 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/0.08772, allocations: 159.9 kB / 285.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00517/0.09289, allocations: 4.021 MB / 289.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009153/0.0938, allocations: 39.88 kB / 289.4 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/0.09389, allocations: 36 kB / 289.4 MB, free: 11.55 MB / 282.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.000697/0.09459, allocations: 300.3 kB / 289.7 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/0.09486, allocations: 99.58 kB / 289.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.09647, allocations: 496.5 kB / 290.3 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.09648, allocations: 4 kB / 290.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.09648, allocations: 4 kB / 290.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.09649, allocations: 0 / 290.3 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004259/0.1008, allocations: 1.557 MB / 291.9 MB, free: 8.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.1008, allocations: 0 / 291.9 MB, free: 8.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/0.1013, allocations: 71.91 kB / 291.9 MB, free: 8.914 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004255/0.1017, allocations: 83.61 kB / 292 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.304e-05/0.1018, allocations: 16 kB / 292 MB, free: 8.809 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005168/0.1069, allocations: 4.005 MB / 296.1 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1069, allocations: 0 / 296.1 MB, free: 4.559 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.1093, allocations: 0.8713 MB / 296.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005017/0.1098, allocations: 123.3 kB / 297 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.11, allocations: 8 kB / 297 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/0.1107, allocations: 27.98 kB / 297.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.1108, allocations: 31.94 kB / 297.1 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.106e-05/0.1109, allocations: 20.12 kB / 297.1 MB, free: 3.418 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001464/0.1123, allocations: 0.6083 MB / 297.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1123, allocations: 0 / 297.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001574/0.1139, allocations: 211.9 kB / 297.9 MB, free: 2.609 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.0003379/0.1142, allocations: 127.1 kB / 298.1 MB, free: 2.477 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.1164, allocations: 0.841 MB / 298.9 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1164, allocations: 4.062 kB / 298.9 MB, free: 1.598 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.1177, allocations: 0.5471 MB / 299.5 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.1193, allocations: 208.2 kB / 299.7 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.144/0.2634, allocations: 1.716 MB / 301.4 MB, free: 55.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/0.264, allocations: 429.1 kB / 301.8 MB, free: 55.08 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006649/0.2647, allocations: 100.8 kB / 301.9 MB, free: 55.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.2649, allocations: 54.86 kB / 301.9 MB, free: 55.06 MB / 282.7 MB Notification: Performance of SimCode: time 1.603e-06/0.2649, allocations: 0 / 301.9 MB, free: 55.06 MB / 282.7 MB Notification: Performance of Templates: time 0.02556/0.2905, allocations: 10.33 MB / 312.3 MB, free: 51.6 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 -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","/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: 4.9498999760253355]