Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008603/0.0008603, allocations: 182.5 kB / 16.71 MB, free: 4.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 225.7 MB / 243.2 MB, free: 8.492 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007265/0.0007265, allocations: 107.1 kB / 294.4 MB, free: 9.508 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003337, allocations: 8 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 50.41 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.005188/0.231, allocations: 7.046 MB / 411.6 MB, free: 24.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.2342, allocations: 2.678 MB / 414.3 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.2347, allocations: 27.88 kB / 414.3 MB, free: 21.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009761/0.2357, allocations: 0.4904 MB / 414.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006594/0.2363, allocations: 397.2 kB / 415.2 MB, free: 20.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.2366, allocations: 207.9 kB / 415.4 MB, free: 20.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007696/0.2374, allocations: 1.366 MB / 416.8 MB, free: 19.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.2379, allocations: 0.5006 MB / 417.3 MB, free: 18.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.2383, allocations: 445.8 kB / 417.7 MB, free: 18.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.2386, allocations: 0.5052 MB / 418.2 MB, free: 17.58 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.275e-05/0.2387, allocations: 64 kB / 418.3 MB, free: 17.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.239, allocations: 95.98 kB / 418.4 MB, free: 17.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2391, allocations: 195 kB / 418.6 MB, free: 17.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003547/0.2394, allocations: 0.5962 MB / 419.2 MB, free: 16.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008448/0.2403, allocations: 1.584 MB / 420.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2403, allocations: 4 kB / 420.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2403, allocations: 0 / 420.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.2403, allocations: 0 / 420.8 MB, free: 15.04 MB / 298.7 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.001447/0.2418, allocations: 1.247 MB / 422 MB, free: 13.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.2418, allocations: 8.031 kB / 422 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.2422, allocations: 171.4 kB / 422.2 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007412/0.243, allocations: 0.7183 MB / 422.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/0.243, allocations: 74 kB / 423 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.2431, allocations: 99.91 kB / 423.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.2444, allocations: 0.9229 MB / 424 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.2444, allocations: 3.984 kB / 424 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.212e-05/0.2445, allocations: 43.98 kB / 424 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.2445, allocations: 24 kB / 424.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009529/0.2455, allocations: 0.6324 MB / 424.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.2488, allocations: 3.924 MB / 428.6 MB, free: 6.812 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.2493, allocations: 359.6 kB / 429 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.2495, allocations: 148.8 kB / 429.1 MB, free: 6.285 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.2495, allocations: 7.984 kB / 429.1 MB, free: 6.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.2496, allocations: 38.56 kB / 429.2 MB, free: 6.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.873e-06/0.2496, allocations: 0 / 429.2 MB, free: 6.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001704/0.2513, allocations: 1.224 MB / 430.4 MB, free: 4.934 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.2513, allocations: 85.11 kB / 430.5 MB, free: 4.832 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007552/0.2521, allocations: 0.8213 MB / 431.3 MB, free: 4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.2521, allocations: 29.7 kB / 431.3 MB, free: 3.965 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.2523, allocations: 0.564 MB / 431.9 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.2524, allocations: 130.2 kB / 432 MB, free: 3.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/0.2524, allocations: 12 kB / 432 MB, free: 3.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.2525, allocations: 333.9 kB / 432.3 MB, free: 2.918 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.2527, allocations: 153.9 kB / 432.5 MB, free: 2.766 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.2531, allocations: 464 kB / 432.9 MB, free: 2.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.2537, allocations: 0.6552 MB / 433.6 MB, free: 1.371 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.2537, allocations: 4 kB / 433.6 MB, free: 1.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008825/0.2546, allocations: 0.7005 MB / 434.3 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2546, allocations: 12.09 kB / 434.3 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2546, allocations: 11.98 kB / 434.3 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.2547, allocations: 32.84 kB / 434.4 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.2552, allocations: 163.7 kB / 434.5 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008509/0.256, allocations: 1.288 MB / 435.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.2565, allocations: 47.89 kB / 435.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.2565, allocations: 36.16 kB / 435.9 MB, free: 14.93 MB / 314.7 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.000297/0.2568, allocations: 257.5 kB / 436.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.273e-05/0.2569, allocations: 82.97 kB / 436.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006586/0.2576, allocations: 391.4 kB / 436.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2576, allocations: 4 kB / 436.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2576, allocations: 0 / 436.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2576, allocations: 3.984 kB / 436.6 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.2592, allocations: 1.273 MB / 437.9 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.2593, allocations: 4 kB / 437.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/0.2596, allocations: 71.89 kB / 438 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.891e-05/0.2597, allocations: 24.84 kB / 438 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.2597, allocations: 12.22 kB / 438 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007727/0.2605, allocations: 1.276 MB / 439.3 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2605, allocations: 8.156 kB / 439.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009369/0.2614, allocations: 0.6587 MB / 439.9 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.2617, allocations: 192.1 kB / 440.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.2618, allocations: 8 kB / 440.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003424/0.2621, allocations: 23.98 kB / 440.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/0.2622, allocations: 35.84 kB / 440.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.2622, allocations: 15.98 kB / 440.2 MB, free: 10.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006982/0.2629, allocations: 0.5498 MB / 440.8 MB, free: 9.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2629, allocations: 0 / 440.8 MB, free: 9.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006309/0.2636, allocations: 184 kB / 440.9 MB, free: 9.586 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.0001913/0.2638, allocations: 137.1 kB / 441.1 MB, free: 9.441 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008503/0.2646, allocations: 0.5224 MB / 441.6 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2646, allocations: 0.75 kB / 441.6 MB, free: 8.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.265, allocations: 274.4 kB / 441.9 MB, free: 8.629 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.2661, allocations: 203.7 kB / 442.1 MB, free: 8.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.2686, allocations: 2.2 MB / 444.3 MB, free: 6.18 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.2691, allocations: 0.9887 MB / 445.3 MB, free: 5.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003601/0.2695, allocations: 110.9 kB / 445.4 MB, free: 5.047 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.2696, allocations: 55.44 kB / 445.4 MB, free: 4.996 MB / 314.7 MB Notification: Performance of SimCode: time 3.9e-07/0.2696, allocations: 0 / 445.4 MB, free: 4.996 MB / 314.7 MB Notification: Performance of Templates: time 0.0172/0.2868, allocations: 8.927 MB / 454.3 MB, free: 12.19 MB / 330.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../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