Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007133/0.0007133, allocations: 94.3 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002806, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2363, allocations: 47.58 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.00583/0.2421, allocations: 7.003 MB / 383.6 MB, free: 40.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004314/0.2465, allocations: 2.724 MB / 386.3 MB, free: 37.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.2477, allocations: 31.75 kB / 386.4 MB, free: 37.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.2494, allocations: 494.3 kB / 386.9 MB, free: 37.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.2509, allocations: 400.9 kB / 387.2 MB, free: 37.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.2513, allocations: 206.2 kB / 387.4 MB, free: 36.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001396/0.2527, allocations: 1.353 MB / 388.8 MB, free: 36.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006179/0.2534, allocations: 0.4968 MB / 389.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005437/0.2539, allocations: 457.7 kB / 389.7 MB, free: 35.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.2543, allocations: 0.5013 MB / 390.2 MB, free: 34.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.694e-05/0.2544, allocations: 64 kB / 390.3 MB, free: 34.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.2546, allocations: 95.98 kB / 390.4 MB, free: 34.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.2547, allocations: 199 kB / 390.6 MB, free: 34.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000384/0.2551, allocations: 0.5924 MB / 391.2 MB, free: 33.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009463/0.2561, allocations: 1.584 MB / 392.8 MB, free: 32.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2561, allocations: 4 kB / 392.8 MB, free: 32.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2561, allocations: 0 / 392.8 MB, free: 32.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.2561, allocations: 0 / 392.8 MB, free: 32.2 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.001529/0.2577, allocations: 1.246 MB / 394 MB, free: 30.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.2577, allocations: 8.031 kB / 394 MB, free: 30.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.2581, allocations: 175.3 kB / 394.2 MB, free: 30.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/0.2589, allocations: 0.7145 MB / 394.9 MB, free: 29.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/0.259, allocations: 70 kB / 395 MB, free: 29.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.609e-05/0.2591, allocations: 96 kB / 395.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.2604, allocations: 0.9229 MB / 396 MB, free: 28.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.2604, allocations: 3.906 kB / 396 MB, free: 28.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.2605, allocations: 40 kB / 396 MB, free: 28.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.2605, allocations: 27.98 kB / 396.1 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009777/0.2615, allocations: 0.6325 MB / 396.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.2651, allocations: 3.936 MB / 400.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.2656, allocations: 359.7 kB / 401 MB, free: 23.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/0.2658, allocations: 151.6 kB / 401.1 MB, free: 23.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.2658, allocations: 4 kB / 401.1 MB, free: 23.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.2659, allocations: 42.5 kB / 401.2 MB, free: 23.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 2.555e-06/0.2659, allocations: 0 / 401.2 MB, free: 23.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001864/0.2677, allocations: 1.232 MB / 402.4 MB, free: 22.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.2678, allocations: 81.11 kB / 402.5 MB, free: 21.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/0.2686, allocations: 0.8174 MB / 403.3 MB, free: 21.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2686, allocations: 29.7 kB / 403.3 MB, free: 21.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.2688, allocations: 0.5678 MB / 403.9 MB, free: 20.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.2689, allocations: 134.2 kB / 404 MB, free: 20.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.2689, allocations: 12 kB / 404.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.269, allocations: 337.9 kB / 404.4 MB, free: 20.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002553/0.2693, allocations: 149.9 kB / 404.5 MB, free: 19.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003485/0.2696, allocations: 464 kB / 405 MB, free: 19.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/0.2703, allocations: 0.6546 MB / 405.6 MB, free: 18.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2703, allocations: 4 kB / 405.6 MB, free: 18.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008953/0.2712, allocations: 0.6965 MB / 406.3 MB, free: 17.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2712, allocations: 12.03 kB / 406.4 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2712, allocations: 8 kB / 406.4 MB, free: 17.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.2714, allocations: 40.78 kB / 406.4 MB, free: 17.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004672/0.2719, allocations: 155.8 kB / 406.6 MB, free: 17.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006471/0.2725, allocations: 1.295 MB / 407.8 MB, free: 16.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.273, allocations: 48.05 kB / 407.9 MB, free: 16.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.273, allocations: 32 kB / 407.9 MB, free: 16.09 MB / 298.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.0002896/0.2733, allocations: 253.5 kB / 408.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/0.2734, allocations: 83.05 kB / 408.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005983/0.274, allocations: 390.1 kB / 408.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.274, allocations: 4 kB / 408.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.274, allocations: 3.938 kB / 408.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.274, allocations: 0 / 408.6 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.2755, allocations: 1.281 MB / 409.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.2755, allocations: 4 kB / 409.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.2758, allocations: 75.89 kB / 410 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-05/0.2759, allocations: 25 kB / 410 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.2759, allocations: 16 kB / 410 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005602/0.2765, allocations: 1.276 MB / 411.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2765, allocations: 4 kB / 411.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.2772, allocations: 0.6562 MB / 412 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.2774, allocations: 184 kB / 412.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.243e-05/0.2775, allocations: 11.98 kB / 412.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.2779, allocations: 23.98 kB / 412.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.2779, allocations: 31.91 kB / 412.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.278, allocations: 16 kB / 412.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005677/0.2785, allocations: 0.5537 MB / 412.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2785, allocations: 0 / 412.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000616/0.2792, allocations: 188 kB / 413 MB, free: 10.74 MB / 298.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.0001554/0.2793, allocations: 127.1 kB / 413.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007769/0.2801, allocations: 0.5237 MB / 413.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2801, allocations: 0 / 413.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.2804, allocations: 274.5 kB / 413.9 MB, free: 9.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.2815, allocations: 195.9 kB / 414.1 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.2835, allocations: 2.219 MB / 416.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.2839, allocations: 0.9923 MB / 417.3 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003395/0.2842, allocations: 102.9 kB / 417.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.62e-05/0.2843, allocations: 59.44 kB / 417.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2843, allocations: 0 / 417.5 MB, free: 6.152 MB / 298.7 MB Notification: Performance of Templates: time 0.0139/0.2982, allocations: 8.932 MB / 426.4 MB, free: 13.3 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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/DCEE_Start/DCEE_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches