Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009956/0.0009956, allocations: 199.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007609/0.000761, allocations: 93.8 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002663, allocations: 8 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1853, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.00523/0.1905, allocations: 7.055 MB / 419.1 MB, free: 18.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.1935, allocations: 2.888 MB / 422 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.1939, allocations: 23.94 kB / 422 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009479/0.1948, allocations: 0.4903 MB / 422.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006275/0.1955, allocations: 389.2 kB / 422.9 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.1958, allocations: 207.8 kB / 423.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008385/0.1967, allocations: 1.358 MB / 424.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005242/0.1972, allocations: 492.7 kB / 424.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004365/0.1976, allocations: 461.8 kB / 425.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000361/0.198, allocations: 0.5013 MB / 425.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.822e-05/0.1981, allocations: 64 kB / 426 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.1983, allocations: 107.9 kB / 426.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1985, allocations: 191 kB / 426.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003508/0.1988, allocations: 0.5923 MB / 426.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008893/0.1997, allocations: 1.592 MB / 428.4 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1997, allocations: 0 / 428.4 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1997, allocations: 0 / 428.4 MB, free: 9.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.1997, allocations: 7.938 kB / 428.4 MB, free: 9.363 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.001567/0.2013, allocations: 1.231 MB / 429.7 MB, free: 8.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2014, allocations: 8.031 kB / 429.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004588/0.2018, allocations: 175.4 kB / 429.8 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007813/0.2026, allocations: 0.7145 MB / 430.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.2027, allocations: 70 kB / 430.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-05/0.2028, allocations: 103.8 kB / 430.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.2041, allocations: 0.923 MB / 431.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.2041, allocations: 3.938 kB / 431.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.245e-05/0.2042, allocations: 43.98 kB / 431.7 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.2042, allocations: 28 kB / 431.7 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.2052, allocations: 0.6286 MB / 432.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.2087, allocations: 3.932 MB / 436.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.2091, allocations: 355.6 kB / 436.6 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.2094, allocations: 162 kB / 436.8 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.2094, allocations: 4.531 kB / 436.8 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.2094, allocations: 42.56 kB / 436.8 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.804e-06/0.2094, allocations: 0 / 436.8 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001953/0.2114, allocations: 1.233 MB / 438.1 MB, free: 15.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.2115, allocations: 81.11 kB / 438.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009861/0.2125, allocations: 0.8135 MB / 439 MB, free: 14.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.2125, allocations: 37.7 kB / 439 MB, free: 14.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.2128, allocations: 0.5601 MB / 439.6 MB, free: 13.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.206e-05/0.2129, allocations: 134.2 kB / 439.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.213, allocations: 12 kB / 439.7 MB, free: 13.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2131, allocations: 338 kB / 440 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.2134, allocations: 145.9 kB / 440.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/0.2138, allocations: 468 kB / 440.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007892/0.2146, allocations: 0.6476 MB / 441.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2146, allocations: 8 kB / 441.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001089/0.2157, allocations: 0.6999 MB / 442 MB, free: 10.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.2158, allocations: 11.98 kB / 442 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.2158, allocations: 12 kB / 442 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.216, allocations: 29.11 kB / 442 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.2165, allocations: 163.7 kB / 442.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009557/0.2174, allocations: 1.292 MB / 443.5 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.2179, allocations: 43.89 kB / 443.5 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.2179, allocations: 32 kB / 443.6 MB, free: 9.273 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.0003614/0.2183, allocations: 257.6 kB / 443.8 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-05/0.2184, allocations: 82.97 kB / 443.9 MB, free: 8.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/0.2191, allocations: 398.1 kB / 444.3 MB, free: 8.523 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2191, allocations: 4 kB / 444.3 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.2192, allocations: 0 / 444.3 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2192, allocations: 0 / 444.3 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.2209, allocations: 1.274 MB / 445.6 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2209, allocations: 8.031 kB / 445.6 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.2212, allocations: 75.89 kB / 445.6 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.511e-05/0.2213, allocations: 20.86 kB / 445.7 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.2213, allocations: 11.94 kB / 445.7 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008022/0.2221, allocations: 1.284 MB / 447 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2222, allocations: 4.031 kB / 447 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009242/0.2231, allocations: 0.6467 MB / 447.6 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.2233, allocations: 188.1 kB / 447.8 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/0.2234, allocations: 12 kB / 447.8 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.2238, allocations: 27.97 kB / 447.8 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.2239, allocations: 31.84 kB / 447.9 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.2239, allocations: 15.94 kB / 447.9 MB, free: 4.648 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006943/0.2246, allocations: 0.5576 MB / 448.4 MB, free: 4.098 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2246, allocations: 0 / 448.4 MB, free: 4.098 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006098/0.2252, allocations: 192 kB / 448.6 MB, free: 3.91 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.0001977/0.2254, allocations: 131.1 kB / 448.8 MB, free: 3.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008643/0.2263, allocations: 0.5182 MB / 449.3 MB, free: 3.242 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2263, allocations: 1.812 kB / 449.3 MB, free: 3.242 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.2267, allocations: 274.9 kB / 449.5 MB, free: 2.961 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.2278, allocations: 195.4 kB / 449.7 MB, free: 2.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.2304, allocations: 2.204 MB / 451.9 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.231, allocations: 0.9884 MB / 452.9 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003698/0.2314, allocations: 106.9 kB / 453 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.2315, allocations: 51.44 kB / 453.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of SimCode: time 3.3e-07/0.2315, allocations: 11.94 kB / 453.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of Templates: time 0.01611/0.2476, allocations: 8.935 MB / 462 MB, free: 6.512 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches