Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001433/0.001433, allocations: 85.44 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00141/0.00141, allocations: 163.6 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 177.1 MB / 204.3 MB, free: 9.207 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/2.913e-05, allocations: 3.469 kB / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.009845/0.009874, allocations: 7.169 MB / 332.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005304/0.01518, allocations: 2.502 MB / 334.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.01619, allocations: 27.28 kB / 334.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.01771, allocations: 0.5236 MB / 335.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.01907, allocations: 0.5152 MB / 335.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.01959, allocations: 244.2 kB / 336.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001697/0.02129, allocations: 1.544 MB / 337.6 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006381/0.02193, allocations: 375.6 kB / 338 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.02323, allocations: 0.859 MB / 338.8 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006799/0.02391, allocations: 444.1 kB / 339.3 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.02409, allocations: 138.4 kB / 339.4 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.02445, allocations: 171.3 kB / 339.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.0247, allocations: 289.8 kB / 339.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005449/0.02525, allocations: 454.9 kB / 340.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.02724, allocations: 1.733 MB / 342 MB, free: 4.176 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.02724, allocations: 0 / 342 MB, free: 4.176 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.02724, allocations: 4 kB / 342 MB, free: 4.172 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.02727, allocations: 0 / 342 MB, free: 4.172 MB / 302.1 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.002475/0.02974, allocations: 1.396 MB / 343.4 MB, free: 2.734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.02977, allocations: 8.031 kB / 343.4 MB, free: 2.727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000705/0.03048, allocations: 196 kB / 343.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.0317, allocations: 0.6767 MB / 344.3 MB, free: 1.832 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.905e-05/0.03177, allocations: 70 kB / 344.4 MB, free: 1.762 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.03192, allocations: 107.9 kB / 344.5 MB, free: 1.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.03363, allocations: 1.031 MB / 345.5 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.393e-05/0.03367, allocations: 7.984 kB / 345.5 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.661e-05/0.03375, allocations: 40 kB / 345.5 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.03378, allocations: 24 kB / 345.6 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.03513, allocations: 0.6286 MB / 346.2 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005037/0.04017, allocations: 3.354 MB / 349.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006801/0.04085, allocations: 346.3 kB / 349.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006221/0.04147, allocations: 246 kB / 350.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.0415, allocations: 4.328 kB / 350.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.04154, allocations: 42.83 kB / 350.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.763e-06/0.04154, allocations: 0 / 350.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.002771/0.04431, allocations: 1.257 MB / 351.4 MB, free: 10.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.04436, allocations: 85.11 kB / 351.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.04541, allocations: 0.762 MB / 352.3 MB, free: 9.512 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.04545, allocations: 33.7 kB / 352.3 MB, free: 9.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004489/0.0459, allocations: 0.5813 MB / 352.9 MB, free: 8.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.04605, allocations: 162.7 kB / 353.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.04625, allocations: 130.6 kB / 353.2 MB, free: 8.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.04645, allocations: 382.8 kB / 353.6 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.04681, allocations: 165.9 kB / 353.7 MB, free: 8.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000636/0.04745, allocations: 489.6 kB / 354.2 MB, free: 7.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.04849, allocations: 0.6661 MB / 354.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.04849, allocations: 4 kB / 354.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001431/0.04992, allocations: 0.7553 MB / 355.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.04994, allocations: 8 kB / 355.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.04995, allocations: 12 kB / 355.6 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.05022, allocations: 86.08 kB / 355.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000517/0.05074, allocations: 147.8 kB / 355.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002802/0.05354, allocations: 2.885 MB / 358.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.05408, allocations: 35.94 kB / 358.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.737e-05/0.05413, allocations: 32 kB / 358.8 MB, free: 2.441 MB / 318.1 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.0004101/0.05454, allocations: 261.7 kB / 359.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.05468, allocations: 83.48 kB / 359.2 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009883/0.05566, allocations: 490.5 kB / 359.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.05567, allocations: 12 kB / 359.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.05567, allocations: 0 / 359.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.05568, allocations: 7.922 kB / 359.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.05777, allocations: 1.185 MB / 360.8 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.05778, allocations: 4 kB / 360.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.05809, allocations: 71.78 kB / 360.9 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002207/0.05831, allocations: 77.8 kB / 361 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.05834, allocations: 8 kB / 361 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.06093, allocations: 2.863 MB / 363.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.06093, allocations: 4.219 kB / 363.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.06233, allocations: 0.7554 MB / 364.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.06261, allocations: 119.5 kB / 364.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.399e-05/0.06271, allocations: 8 kB / 364.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.06313, allocations: 31.98 kB / 364.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.06321, allocations: 32.06 kB / 364.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.06325, allocations: 20 kB / 364.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007543/0.064, allocations: 0.5029 MB / 365.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.064, allocations: 3.938 kB / 365.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008743/0.06487, allocations: 207.9 kB / 365.5 MB, free: 11.38 MB / 334.1 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.0002319/0.06511, allocations: 123.2 kB / 365.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.06636, allocations: 0.6734 MB / 366.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.06636, allocations: 2 kB / 366.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006765/0.06704, allocations: 421.6 kB / 366.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009975/0.06803, allocations: 197.1 kB / 366.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.07079, allocations: 1.626 MB / 368.6 MB, free: 8.254 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.07123, allocations: 421.4 kB / 369 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003266/0.07156, allocations: 98.67 kB / 369.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.07169, allocations: 56.44 kB / 369.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.07169, allocations: 0 / 369.1 MB, free: 7.656 MB / 334.1 MB Notification: Performance of Templates: time 0.01982/0.09152, allocations: 10.03 MB / 379.2 MB, free: 13.83 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.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.767094396054745]