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.0009779/0.0009779, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0009185/0.0009185, allocations: 169.6 kB / 25.7 MB, free: 8.434 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.9161/0.9161, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.062e-06/1.062e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.243e-05, allocations: 6.312 kB / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.005884/0.005896, allocations: 7.878 MB / 259.5 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003032/0.008928, allocations: 2.704 MB / 262.2 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000403/0.009331, allocations: 27.88 kB / 262.2 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009443/0.01028, allocations: 0.5323 MB / 262.7 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006376/0.01091, allocations: 0.5194 MB / 263.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.0112, allocations: 251.6 kB / 263.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009868/0.01219, allocations: 1.531 MB / 265 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.01259, allocations: 379.2 kB / 265.4 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006795/0.01327, allocations: 0.8768 MB / 266.3 MB, free: 8.426 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004186/0.01369, allocations: 478.5 kB / 266.7 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001073/0.01379, allocations: 136 kB / 266.9 MB, free: 7.824 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.01401, allocations: 172 kB / 267 MB, free: 7.656 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.01414, allocations: 286.9 kB / 267.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.01446, allocations: 470.8 kB / 267.8 MB, free: 6.914 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008082/0.01527, allocations: 0.9146 MB / 268.7 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01527, allocations: 3.984 kB / 268.7 MB, free: 5.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.01527, allocations: 0 / 268.7 MB, free: 5.992 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.01529, allocations: 4 kB / 268.7 MB, free: 5.988 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.001215/0.0165, allocations: 1.367 MB / 270.1 MB, free: 4.594 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.01653, allocations: 11.98 kB / 270.1 MB, free: 4.582 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/0.01693, allocations: 228.7 kB / 270.3 MB, free: 4.359 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006357/0.01756, allocations: 0.5293 MB / 270.8 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.0176, allocations: 74 kB / 270.9 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-05/0.01768, allocations: 103.9 kB / 271 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006415/0.01833, allocations: 0.7731 MB / 271.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.01835, allocations: 0 / 271.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.01839, allocations: 40 kB / 271.8 MB, free: 2.758 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.0184, allocations: 28 kB / 271.8 MB, free: 2.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002761/0.01868, allocations: 241.8 kB / 272.1 MB, free: 2.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.02105, allocations: 2.942 MB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.0213, allocations: 235.3 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.0215, allocations: 173.3 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.02153, allocations: 8.328 kB / 275.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.02155, allocations: 34.89 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 1.723e-06/0.02155, allocations: 0 / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009695/0.02252, allocations: 0.7465 MB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.02255, allocations: 81.11 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004359/0.02299, allocations: 0.6613 MB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.02301, allocations: 33.69 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.0232, allocations: 0.5005 MB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.606e-05/0.02328, allocations: 166.6 kB / 277.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.02338, allocations: 130.5 kB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.02349, allocations: 390.6 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.82e-05/0.02356, allocations: 65.95 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.02376, allocations: 389.7 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003198/0.02408, allocations: 492.8 kB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.02408, allocations: 0 / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0004401/0.02452, allocations: 491 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.02454, allocations: 12 kB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.02455, allocations: 12.03 kB / 279.6 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001384/0.02468, allocations: 69.66 kB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.02495, allocations: 163.7 kB / 279.8 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/0.02628, allocations: 2.588 MB / 282.4 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.0265, allocations: 35.98 kB / 282.4 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.02652, allocations: 28 kB / 282.5 MB, free: 7.332 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.0001602/0.02668, allocations: 169.5 kB / 282.6 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.02675, allocations: 55.94 kB / 282.7 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.02707, allocations: 302.8 kB / 283 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.02708, allocations: 4 kB / 283 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.02708, allocations: 4 kB / 283 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.02709, allocations: 3.984 kB / 283 MB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008125/0.0279, allocations: 0.7635 MB / 283.7 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.0279, allocations: 0 / 283.7 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.02806, allocations: 75.89 kB / 283.8 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.02818, allocations: 61.84 kB / 283.9 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.0282, allocations: 8.062 kB / 283.9 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.02927, allocations: 2.596 MB / 286.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.02927, allocations: 4 kB / 286.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.0297, allocations: 482.3 kB / 287 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.02982, allocations: 83.53 kB / 287 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.02987, allocations: 12 kB / 287.1 MB, free: 2.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.03003, allocations: 23.98 kB / 287.1 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.03008, allocations: 35.88 kB / 287.1 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.0301, allocations: 12.12 kB / 287.1 MB, free: 2.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002283/0.03033, allocations: 311.3 kB / 287.4 MB, free: 2.059 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03033, allocations: 0 / 287.4 MB, free: 2.059 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004224/0.03075, allocations: 204 kB / 287.6 MB, free: 1.859 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.0001333/0.03088, allocations: 104.4 kB / 287.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004305/0.03131, allocations: 0.5391 MB / 288.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/0.03133, allocations: 12.5 kB / 288.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002375/0.03156, allocations: 358.6 kB / 288.6 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.03204, allocations: 206.4 kB / 288.8 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.03383, allocations: 1.56 MB / 290.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.03394, allocations: 179.1 kB / 290.6 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.03415, allocations: 94.69 kB / 290.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.03444, allocations: 229.2 kB / 290.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.03444, allocations: 0 / 290.9 MB, free: 14.46 MB / 282.7 MB Notification: Performance of Templates: time 0.01361/0.04804, allocations: 10.84 MB / 301.7 MB, free: 3.668 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 -s gbode -gbm=radauIIA3 -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.897655168082565]