Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007784/0.0007784, allocations: 91.7 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008441/0.0008441, allocations: 184.5 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.134/1.134, allocations: 223.3 MB / 242.3 MB, free: 14.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002121/0.0002122, allocations: 12 kB / 302.1 MB, free: 5.848 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07119/0.07141, allocations: 50.41 MB / 352.5 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006641/0.07808, allocations: 7.466 MB / 360 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003436/0.08154, allocations: 2.541 MB / 362.5 MB, free: 9.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000616/0.08217, allocations: 23.94 kB / 362.5 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.08326, allocations: 498.1 kB / 363 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000748/0.08401, allocations: 389.2 kB / 363.4 MB, free: 8.477 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.08437, allocations: 211.8 kB / 363.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.08539, allocations: 1.354 MB / 365 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005843/0.08599, allocations: 0.5045 MB / 365.5 MB, free: 6.383 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.0864, allocations: 449.8 kB / 365.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004331/0.08684, allocations: 0.5013 MB / 366.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.615e-05/0.08693, allocations: 64 kB / 366.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.08714, allocations: 108 kB / 366.6 MB, free: 5.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.08726, allocations: 187 kB / 366.8 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.08769, allocations: 0.5962 MB / 367.3 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009336/0.08863, allocations: 1.332 MB / 368.7 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.08864, allocations: 0 / 368.7 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.08865, allocations: 0 / 368.7 MB, free: 3.145 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.08866, allocations: 0 / 368.7 MB, free: 3.145 MB / 302.1 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.001609/0.09028, allocations: 1.239 MB / 369.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.09032, allocations: 12.03 kB / 369.9 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004548/0.09078, allocations: 171.4 kB / 370.1 MB, free: 1.672 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008458/0.09164, allocations: 0.7222 MB / 370.8 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/0.09169, allocations: 66 kB / 370.9 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.09181, allocations: 99.91 kB / 371 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1217/0.2135, allocations: 0.9258 MB / 371.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.247e-05/0.2136, allocations: 3.531 kB / 371.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.901e-05/0.2137, allocations: 42.56 kB / 372 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.2137, allocations: 24.67 kB / 372 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.2151, allocations: 0.6423 MB / 372.6 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.2194, allocations: 3.933 MB / 376.6 MB, free: 21.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.22, allocations: 362.2 kB / 376.9 MB, free: 21.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.2202, allocations: 158.4 kB / 377.1 MB, free: 21.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.2203, allocations: 3.844 kB / 377.1 MB, free: 21.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.2203, allocations: 37.14 kB / 377.1 MB, free: 21.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.534e-06/0.2203, allocations: 1.688 kB / 377.1 MB, free: 21.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001866/0.2222, allocations: 1.222 MB / 378.3 MB, free: 20.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/0.2222, allocations: 81.02 kB / 378.4 MB, free: 20.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009338/0.2231, allocations: 0.828 MB / 379.2 MB, free: 20.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.2232, allocations: 35.08 kB / 379.3 MB, free: 20.1 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.2234, allocations: 0.5646 MB / 379.8 MB, free: 19.65 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.474e-05/0.2235, allocations: 131.6 kB / 380 MB, free: 19.55 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.862e-05/0.2236, allocations: 57.12 kB / 380 MB, free: 19.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.2236, allocations: 331.6 kB / 380.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.2239, allocations: 154.5 kB / 380.5 MB, free: 19.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.2243, allocations: 469.3 kB / 380.9 MB, free: 18.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006502/0.2249, allocations: 0.6536 MB / 381.6 MB, free: 18.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.2249, allocations: 7.734 kB / 381.6 MB, free: 18.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001024/0.226, allocations: 0.7057 MB / 382.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.226, allocations: 9.25 kB / 382.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.226, allocations: 13.34 kB / 382.3 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.2262, allocations: 34.89 kB / 382.4 MB, free: 17.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.2266, allocations: 168.3 kB / 382.5 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005809/0.2272, allocations: 1.288 MB / 383.8 MB, free: 16.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.2277, allocations: 38.44 kB / 383.9 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.2277, allocations: 32.42 kB / 383.9 MB, free: 16.45 MB / 302.1 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.0002582/0.228, allocations: 267.9 kB / 384.2 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/0.2281, allocations: 85.11 kB / 384.2 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006183/0.2287, allocations: 391.1 kB / 384.6 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2287, allocations: 4.312 kB / 384.6 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2287, allocations: 1.469 kB / 384.6 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2287, allocations: 5.953 kB / 384.6 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.2303, allocations: 1.283 MB / 385.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2303, allocations: 5.125 kB / 385.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.2306, allocations: 73.41 kB / 386 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.738e-05/0.2306, allocations: 23.39 kB / 386 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.2307, allocations: 8.578 kB / 386 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005052/0.2312, allocations: 1.283 MB / 387.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2312, allocations: 1.797 kB / 387.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008357/0.232, allocations: 0.647 MB / 388 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.2322, allocations: 192.5 kB / 388.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.721e-05/0.2323, allocations: 17.42 kB / 388.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.2327, allocations: 24.78 kB / 388.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.2328, allocations: 30 kB / 388.2 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.2328, allocations: 13.19 kB / 388.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006487/0.2334, allocations: 0.5594 MB / 388.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2334, allocations: 0 / 388.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006178/0.2341, allocations: 188.9 kB / 389 MB, free: 13.09 MB / 302.1 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.0001414/0.2342, allocations: 123.2 kB / 389.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007787/0.235, allocations: 0.5197 MB / 389.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.235, allocations: 3 kB / 389.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.2354, allocations: 279.7 kB / 389.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.2365, allocations: 211 kB / 390.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.2387, allocations: 2.234 MB / 392.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.2392, allocations: 0.9917 MB / 393.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.2393, allocations: 57.47 kB / 393.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2393, allocations: 0 / 393.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of Templates: time 0.0141/0.2534, allocations: 15.56 MB / 408.9 MB, free: 14.62 MB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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