Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 102.5 kB / 17.74 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 197.2 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 43.94 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2237, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008118/0.2318, allocations: 7.991 MB / 409.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003289/0.2351, allocations: 2.602 MB / 412 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.2355, allocations: 23.94 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.2366, allocations: 0.5637 MB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007624/0.2374, allocations: 492.4 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003853/0.2378, allocations: 239.7 kB / 413.3 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.239, allocations: 1.439 MB / 414.8 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007086/0.2397, allocations: 0.5768 MB / 415.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005192/0.2402, allocations: 0.5408 MB / 415.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.2408, allocations: 0.5833 MB / 416.5 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.241, allocations: 136 kB / 416.6 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002967/0.2413, allocations: 176 kB / 416.8 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.2415, allocations: 278.9 kB / 417 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.242, allocations: 0.6454 MB / 417.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.2434, allocations: 1.693 MB / 419.4 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2434, allocations: 0 / 419.4 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2434, allocations: 0 / 419.4 MB, free: 6.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.2434, allocations: 0 / 419.4 MB, free: 6.828 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002117/0.2456, allocations: 1.433 MB / 420.8 MB, free: 5.344 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2456, allocations: 12.03 kB / 420.8 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005383/0.2462, allocations: 171.3 kB / 421 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.2472, allocations: 0.7301 MB / 421.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.2473, allocations: 66 kB / 421.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2474, allocations: 99.91 kB / 421.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.249, allocations: 0.9268 MB / 422.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/0.249, allocations: 4 kB / 422.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.72e-05/0.2491, allocations: 40 kB / 422.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.2491, allocations: 24 kB / 422.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.2503, allocations: 0.6207 MB / 423.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004483/0.2548, allocations: 3.885 MB / 427.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.2554, allocations: 355.6 kB / 427.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.2557, allocations: 148.8 kB / 427.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2557, allocations: 0 / 427.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.2557, allocations: 42.5 kB / 427.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.432e-06/0.2558, allocations: 0 / 427.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002134/0.2579, allocations: 1.195 MB / 429.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.2579, allocations: 81.11 kB / 429.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.259, allocations: 0.8252 MB / 430 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.259, allocations: 33.7 kB / 430 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.2594, allocations: 0.5679 MB / 430.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.331e-05/0.2595, allocations: 130.1 kB / 430.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.2597, allocations: 126.5 kB / 430.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2598, allocations: 334 kB / 431.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/0.2601, allocations: 149.9 kB / 431.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/0.2606, allocations: 456 kB / 431.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008507/0.2615, allocations: 0.6362 MB / 432.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.2615, allocations: 7.938 kB / 432.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001147/0.2626, allocations: 0.6886 MB / 433.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2627, allocations: 8 kB / 433.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2627, allocations: 12.12 kB / 433.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.2628, allocations: 40.78 kB / 433.2 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.2633, allocations: 155.7 kB / 433.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.2644, allocations: 1.39 MB / 434.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.2648, allocations: 31.98 kB / 434.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.2649, allocations: 35.98 kB / 434.8 MB, free: 6.445 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003144/0.2652, allocations: 265.6 kB / 435 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.2653, allocations: 86.91 kB / 435.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007245/0.2661, allocations: 370.5 kB / 435.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2661, allocations: 3.984 kB / 435.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2661, allocations: 4 kB / 435.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.2663, allocations: 195.9 kB / 435.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-05/0.2664, allocations: 8 kB / 435.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000355/0.2668, allocations: 23.98 kB / 435.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.2668, allocations: 19.97 kB / 435.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008763/0.2677, allocations: 421.5 kB / 436.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009172/0.2687, allocations: 0.6419 MB / 436.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002337/0.2689, allocations: 124.4 kB / 436.9 MB, free: 4.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007068/0.2696, allocations: 0.5576 MB / 437.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of Backend: time 5.11e-07/0.2696, allocations: 0 / 437.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.2708, allocations: 0.5148 MB / 438 MB, free: 3.156 MB / 350.1 MB Notification: Performance of SimCode: time 0.002989/0.2738, allocations: 2.241 MB / 440.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of Templates: time 0.01832/0.2921, allocations: 10.36 MB / 450.6 MB, free: 6.625 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches