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.DCSE_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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,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=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.00133/0.00133, allocations: 179.7 kB / 17.36 MB, free: 4.195 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.427/1.427, 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.0007616/0.0007614, allocations: 100.7 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002419/0.0002419, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2013, allocations: 47.57 MB / 376.6 MB, free: 45.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.006528/0.2079, allocations: 7.11 MB / 383.7 MB, free: 40.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004368/0.2123, allocations: 2.761 MB / 386.5 MB, free: 37.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000729/0.213, allocations: 27.31 kB / 386.5 MB, free: 37.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.2143, allocations: 497.9 kB / 387 MB, free: 37.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.2154, allocations: 403.4 kB / 387.4 MB, free: 36.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.2158, allocations: 226.5 kB / 387.6 MB, free: 36.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.2172, allocations: 1.39 MB / 389 MB, free: 35.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000686/0.2179, allocations: 0.498 MB / 389.5 MB, free: 35.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007001/0.2186, allocations: 465.8 kB / 389.9 MB, free: 35.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003931/0.219, allocations: 0.5207 MB / 390.5 MB, free: 34.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.517e-05/0.2191, allocations: 68 kB / 390.5 MB, free: 34.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.2194, allocations: 99.98 kB / 390.6 MB, free: 34.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.2195, allocations: 206.9 kB / 390.8 MB, free: 34.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000396/0.2199, allocations: 0.5962 MB / 391.4 MB, free: 33.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.2209, allocations: 1.615 MB / 393 MB, free: 31.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.2209, allocations: 0 / 393 MB, free: 31.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2209, allocations: 4 kB / 393 MB, free: 31.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.221, allocations: 0 / 393 MB, free: 31.91 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.001712/0.2227, allocations: 1.25 MB / 394.3 MB, free: 30.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.2227, allocations: 12.03 kB / 394.3 MB, free: 30.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005695/0.2233, allocations: 191.4 kB / 394.5 MB, free: 30.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008561/0.2242, allocations: 0.7299 MB / 395.2 MB, free: 29.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/0.2242, allocations: 77.98 kB / 395.3 MB, free: 29.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.2243, allocations: 96 kB / 395.4 MB, free: 29.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.2256, allocations: 0.9308 MB / 396.3 MB, free: 28.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.2257, allocations: 7.891 kB / 396.3 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.874e-05/0.2257, allocations: 44 kB / 396.4 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.2258, allocations: 27.94 kB / 396.4 MB, free: 28.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009967/0.2268, allocations: 0.6364 MB / 397 MB, free: 27.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/0.2305, allocations: 3.938 MB / 401 MB, free: 23.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005512/0.2311, allocations: 445.8 kB / 401.4 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.2315, allocations: 264.6 kB / 401.7 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.2316, allocations: 4.328 kB / 401.7 MB, free: 22.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.2316, allocations: 38.89 kB / 401.7 MB, free: 22.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.615e-06/0.2316, allocations: 4 kB / 401.7 MB, free: 22.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.002144/0.2338, allocations: 1.419 MB / 403.1 MB, free: 21.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.2338, allocations: 89.09 kB / 403.2 MB, free: 21.25 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007871/0.2346, allocations: 0.8136 MB / 404 MB, free: 20.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.2346, allocations: 29.7 kB / 404.1 MB, free: 20.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.2349, allocations: 0.5603 MB / 404.6 MB, free: 19.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.2349, allocations: 161.7 kB / 404.8 MB, free: 19.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.235, allocations: 12 kB / 404.8 MB, free: 19.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.817e-05/0.235, allocations: 330 kB / 405.1 MB, free: 19.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.2353, allocations: 169.9 kB / 405.3 MB, free: 19.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.2357, allocations: 464 kB / 405.7 MB, free: 18.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/0.2363, allocations: 0.67 MB / 406.4 MB, free: 17.76 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.2363, allocations: 0 / 406.4 MB, free: 17.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.0009806/0.2373, allocations: 0.7746 MB / 407.2 MB, free: 16.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2374, allocations: 14.8 kB / 407.2 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2374, allocations: 12 kB / 407.2 MB, free: 16.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/0.2376, allocations: 77.62 kB / 407.3 MB, free: 16.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.238, allocations: 163.8 kB / 407.4 MB, free: 16.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.2396, allocations: 2.876 MB / 410.3 MB, free: 13.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.2401, allocations: 39.89 kB / 410.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.2401, allocations: 35.94 kB / 410.4 MB, free: 13.5 MB / 298.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.0003338/0.2405, allocations: 261.5 kB / 410.7 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.913e-05/0.2406, allocations: 83.03 kB / 410.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007572/0.2413, allocations: 0.4956 MB / 411.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2413, allocations: 4 kB / 411.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2414, allocations: 4 kB / 411.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.2414, allocations: 3.938 kB / 411.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.243, allocations: 1.448 MB / 412.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.243, allocations: 7.938 kB / 412.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.2433, allocations: 68.03 kB / 412.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.2435, allocations: 81.89 kB / 412.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.2436, allocations: 8 kB / 412.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.245, allocations: 2.852 MB / 415.7 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.245, allocations: 3.938 kB / 415.7 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009674/0.246, allocations: 0.773 MB / 416.5 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.2462, allocations: 196 kB / 416.7 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.2464, allocations: 15.94 kB / 416.7 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.2467, allocations: 36.11 kB / 416.7 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/0.2468, allocations: 39.89 kB / 416.8 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.2469, allocations: 8 kB / 416.8 MB, free: 6.676 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006596/0.2475, allocations: 0.5576 MB / 417.3 MB, free: 6.125 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2475, allocations: 0 / 417.3 MB, free: 6.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007792/0.2483, allocations: 204 kB / 417.5 MB, free: 5.926 MB / 298.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.0002306/0.2486, allocations: 131.6 kB / 417.7 MB, free: 5.785 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.2496, allocations: 0.6947 MB / 418.3 MB, free: 5.066 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2496, allocations: 4.25 kB / 418.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.2501, allocations: 437.1 kB / 418.8 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.2513, allocations: 217.4 kB / 419 MB, free: 4.398 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.2537, allocations: 2.213 MB / 421.2 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.2541, allocations: 1.001 MB / 422.2 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.2545, allocations: 107.2 kB / 422.3 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.2546, allocations: 55.44 kB / 422.4 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2546, allocations: 0 / 422.4 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of Templates: time 0.01812/0.2728, allocations: 9.972 MB / 432.3 MB, free: 7.059 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches