Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007735/0.0007737, allocations: 94.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001518/0.001518, allocations: 205.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 247.5 MB, free: 11.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000212/0.0002121, allocations: 4 kB / 308.4 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08596, allocations: 51.53 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.007183/0.09319, allocations: 7.473 MB / 367.4 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003738/0.09696, allocations: 2.572 MB / 370 MB, free: 3.203 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.09743, allocations: 27.88 kB / 370 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.09859, allocations: 0.4903 MB / 370.5 MB, free: 2.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008749/0.09948, allocations: 401.2 kB / 370.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004305/0.09992, allocations: 207.8 kB / 371.1 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0013/0.1012, allocations: 1.36 MB / 372.4 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000651/0.1019, allocations: 0.4889 MB / 372.9 MB, free: 220 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1519/0.2538, allocations: 453.4 kB / 373.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007794/0.2546, allocations: 0.4994 MB / 373.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.2548, allocations: 67.44 kB / 373.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.2552, allocations: 105.4 kB / 374 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.2553, allocations: 190.5 kB / 374.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005763/0.2559, allocations: 0.5897 MB / 374.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.2574, allocations: 1.328 MB / 376.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2574, allocations: 3.969 kB / 376.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2574, allocations: 3.938 kB / 376.2 MB, free: 10.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.414e-05/0.2575, allocations: 0 / 376.2 MB, free: 10.13 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.002201/0.2597, allocations: 1.238 MB / 377.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2597, allocations: 9.953 kB / 377.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000547/0.2603, allocations: 173.5 kB / 377.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009801/0.2612, allocations: 0.715 MB / 378.3 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.2613, allocations: 71.58 kB / 378.4 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.2614, allocations: 100.1 kB / 378.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.263, allocations: 0.9309 MB / 379.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.2631, allocations: 3.266 kB / 379.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-05/0.2632, allocations: 41.41 kB / 379.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.2632, allocations: 24.12 kB / 379.5 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.2644, allocations: 0.6423 MB / 380.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004403/0.2689, allocations: 3.932 MB / 384 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/0.2694, allocations: 359.1 kB / 384.4 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.2697, allocations: 161.9 kB / 384.5 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.2698, allocations: 2.844 kB / 384.5 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.2698, allocations: 37.78 kB / 384.6 MB, free: 6.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.205e-06/0.2698, allocations: 0 / 384.6 MB, free: 6.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002115/0.2719, allocations: 1.236 MB / 385.8 MB, free: 6.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.272, allocations: 81.23 kB / 385.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.273, allocations: 0.8176 MB / 386.7 MB, free: 5.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.273, allocations: 31.89 kB / 386.7 MB, free: 5.605 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.2733, allocations: 0.5723 MB / 387.3 MB, free: 5.148 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.2734, allocations: 127.5 kB / 387.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.2735, allocations: 60.09 kB / 387.5 MB, free: 5.016 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.2735, allocations: 332.4 kB / 387.8 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.2738, allocations: 151.5 kB / 388 MB, free: 4.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/0.2742, allocations: 472.3 kB / 388.4 MB, free: 4.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/0.2749, allocations: 0.6428 MB / 389.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.275, allocations: 2.031 kB / 389.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001107/0.2761, allocations: 0.7158 MB / 389.8 MB, free: 3.414 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.2761, allocations: 8.688 kB / 389.8 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.2761, allocations: 12.89 kB / 389.8 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.2763, allocations: 35.62 kB / 389.8 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.2768, allocations: 163.7 kB / 390 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000649/0.2774, allocations: 1.294 MB / 391.3 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.278, allocations: 44.69 kB / 391.3 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.278, allocations: 31 kB / 391.4 MB, free: 2.07 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.0003454/0.2784, allocations: 259.6 kB / 391.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.2785, allocations: 87.41 kB / 391.7 MB, free: 1.828 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006826/0.2792, allocations: 384 kB / 392.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2792, allocations: 11.59 kB / 392.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2792, allocations: 1.188 kB / 392.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2792, allocations: 3.891 kB / 392.1 MB, free: 1.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.2809, allocations: 1.277 MB / 393.4 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2809, allocations: 2.562 kB / 393.4 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.2812, allocations: 86.88 kB / 393.5 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.588e-05/0.2813, allocations: 23 kB / 393.5 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.2814, allocations: 14.75 kB / 393.5 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006802/0.2821, allocations: 1.275 MB / 394.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2821, allocations: 2.125 kB / 394.8 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.2831, allocations: 0.6511 MB / 395.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/0.2834, allocations: 190.8 kB / 395.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.162e-05/0.2835, allocations: 12.2 kB / 395.6 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.2839, allocations: 29.61 kB / 395.7 MB, free: 15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-05/0.2839, allocations: 29.39 kB / 395.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.284, allocations: 12.59 kB / 395.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008244/0.2848, allocations: 0.5587 MB / 396.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2848, allocations: 4 kB / 396.3 MB, free: 14.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007875/0.2856, allocations: 192.3 kB / 396.4 MB, free: 14.64 MB / 318.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.0001921/0.2858, allocations: 119.3 kB / 396.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009804/0.2868, allocations: 0.52 MB / 397.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2868, allocations: 0 / 397.1 MB, free: 14.29 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004061/0.2872, allocations: 274.7 kB / 397.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.2885, allocations: 202.5 kB / 397.6 MB, free: 14.03 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.2915, allocations: 2.252 MB / 399.8 MB, free: 12.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.2921, allocations: 0.998 MB / 400.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.2923, allocations: 61.78 kB / 400.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2923, allocations: 0 / 400.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of Templates: time 0.01935/0.3117, allocations: 15.56 MB / 416.4 MB, free: 14.62 MB / 334.1 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/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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches