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.DCSE_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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_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.001343/0.001343, allocations: 182.5 kB / 16.71 MB, free: 4.969 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.234/1.234, allocations: 225.7 MB / 243.2 MB, free: 8.52 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.0007098/0.0007098, allocations: 94.81 kB / 294.4 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002232/0.0002232, allocations: 11.94 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2081, allocations: 50.41 MB / 404.6 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start): time 0.005268/0.2134, allocations: 7.132 MB / 411.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003297/0.2167, allocations: 2.739 MB / 414.5 MB, free: 21.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.2172, allocations: 23.94 kB / 414.5 MB, free: 21.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.2182, allocations: 0.4942 MB / 415 MB, free: 20.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000683/0.2189, allocations: 393.2 kB / 415.4 MB, free: 20.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.2193, allocations: 223.8 kB / 415.6 MB, free: 20.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008181/0.2201, allocations: 1.397 MB / 417 MB, free: 18.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005166/0.2206, allocations: 0.4928 MB / 417.5 MB, free: 18.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003707/0.221, allocations: 473.7 kB / 417.9 MB, free: 17.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.2214, allocations: 0.5208 MB / 418.4 MB, free: 17.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.495e-05/0.2215, allocations: 68 kB / 418.5 MB, free: 17.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.2217, allocations: 99.97 kB / 418.6 MB, free: 17.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.938e-05/0.2218, allocations: 191 kB / 418.8 MB, free: 17.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.2221, allocations: 0.6079 MB / 419.4 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008794/0.223, allocations: 1.615 MB / 421 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.223, allocations: 0 / 421 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.223, allocations: 0 / 421 MB, free: 14.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.2231, allocations: 0 / 421 MB, free: 14.79 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.00159/0.2247, allocations: 1.258 MB / 422.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2247, allocations: 8.031 kB / 422.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005475/0.2253, allocations: 195.3 kB / 422.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008199/0.2261, allocations: 0.7261 MB / 423.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.2261, allocations: 74 kB / 423.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.2262, allocations: 99.91 kB / 423.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.2275, allocations: 0.9307 MB / 424.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.2276, allocations: 7.938 kB / 424.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.371e-05/0.2276, allocations: 40 kB / 424.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2276, allocations: 28 kB / 424.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.2287, allocations: 0.6325 MB / 425 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003519/0.2322, allocations: 3.95 MB / 429 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.2328, allocations: 437.8 kB / 429.4 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.2332, allocations: 264.2 kB / 429.6 MB, free: 5.785 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.2333, allocations: 12.31 kB / 429.7 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2333, allocations: 38.89 kB / 429.7 MB, free: 5.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/0.2333, allocations: 0 / 429.7 MB, free: 5.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.002324/0.2356, allocations: 1.416 MB / 431.1 MB, free: 4.234 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.2357, allocations: 85.11 kB / 431.2 MB, free: 4.133 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009618/0.2367, allocations: 0.8136 MB / 432 MB, free: 3.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.2367, allocations: 33.7 kB / 432 MB, free: 3.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.237, allocations: 0.5526 MB / 432.6 MB, free: 2.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.2371, allocations: 157.7 kB / 432.7 MB, free: 2.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.2371, allocations: 19.94 kB / 432.8 MB, free: 2.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.2372, allocations: 338 kB / 433.1 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.2374, allocations: 161.9 kB / 433.3 MB, free: 2.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.2378, allocations: 471.9 kB / 433.7 MB, free: 1.438 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/0.2384, allocations: 0.6585 MB / 434.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2384, allocations: 0 / 434.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001012/0.2395, allocations: 0.7784 MB / 435.2 MB, free: 15.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2395, allocations: 8 kB / 435.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.2395, allocations: 15.94 kB / 435.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/0.2398, allocations: 77.62 kB / 435.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.2402, allocations: 160 kB / 435.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.2424, allocations: 2.88 MB / 438.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.2429, allocations: 39.89 kB / 438.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.2429, allocations: 32 kB / 438.4 MB, free: 12.37 MB / 314.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.0003501/0.2433, allocations: 262.9 kB / 438.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2434, allocations: 86.95 kB / 438.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.2442, allocations: 0.4913 MB / 439.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.2443, allocations: 8 kB / 439.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.2443, allocations: 0 / 439.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.2443, allocations: 3.938 kB / 439.2 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.2462, allocations: 1.454 MB / 440.7 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.2462, allocations: 4 kB / 440.7 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.2465, allocations: 67.91 kB / 440.7 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001791/0.2467, allocations: 81.83 kB / 440.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.453e-05/0.2468, allocations: 8 kB / 440.8 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.2488, allocations: 2.849 MB / 443.7 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2488, allocations: 0 / 443.7 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.2499, allocations: 0.7846 MB / 444.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.2502, allocations: 192.1 kB / 444.6 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.394e-05/0.2503, allocations: 23.94 kB / 444.7 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.2507, allocations: 31.97 kB / 444.7 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.2507, allocations: 27.97 kB / 444.7 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.2508, allocations: 16.12 kB / 444.7 MB, free: 5.543 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006963/0.2515, allocations: 0.5537 MB / 445.3 MB, free: 4.996 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2515, allocations: 0 / 445.3 MB, free: 4.996 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006862/0.2522, allocations: 208 kB / 445.5 MB, free: 4.793 MB / 314.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.0002268/0.2524, allocations: 139.1 kB / 445.6 MB, free: 4.648 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.2535, allocations: 0.6824 MB / 446.3 MB, free: 3.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2535, allocations: 0 / 446.3 MB, free: 3.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005871/0.2541, allocations: 457.5 kB / 446.8 MB, free: 3.469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.2553, allocations: 208.5 kB / 447 MB, free: 3.262 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.2582, allocations: 2.211 MB / 449.2 MB, free: 1.004 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.2588, allocations: 1.005 MB / 450.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004196/0.2592, allocations: 103.3 kB / 450.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.2594, allocations: 59.42 kB / 450.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.2594, allocations: 0 / 450.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of Templates: time 0.01813/0.2775, allocations: 9.954 MB / 460.3 MB, free: 5.961 MB / 330.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_Start/DCSE_Start.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches