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.001054/0.001054, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001178/0.001178, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 60.06 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08849/0.08968, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.0088/0.09852, allocations: 7.979 MB / 366.9 MB, free: 5.324 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004062/0.1026, allocations: 2.637 MB / 369.5 MB, free: 2.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006026/0.1032, allocations: 23.94 kB / 369.6 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.1046, allocations: 0.552 MB / 370.1 MB, free: 2.102 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009262/0.1055, allocations: 448.4 kB / 370.5 MB, free: 1.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.1059, allocations: 247.7 kB / 370.8 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1538/0.2597, allocations: 1.436 MB / 372.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.2609, allocations: 0.5818 MB / 372.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009728/0.2619, allocations: 0.5407 MB / 373.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006446/0.2626, allocations: 0.5785 MB / 373.9 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.2627, allocations: 136.2 kB / 374.1 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.2631, allocations: 175.3 kB / 374.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.2633, allocations: 274.1 kB / 374.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005638/0.2638, allocations: 0.6474 MB / 375.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.2656, allocations: 1.699 MB / 376.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2656, allocations: 2.781 kB / 376.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2656, allocations: 1.891 kB / 376.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.285e-05/0.2656, allocations: 0 / 376.8 MB, free: 10.56 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.002138/0.2678, allocations: 1.424 MB / 378.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.2678, allocations: 8.312 kB / 378.3 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005456/0.2684, allocations: 169.2 kB / 378.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.2695, allocations: 0.7351 MB / 379.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.789e-05/0.2695, allocations: 73.75 kB / 379.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.2696, allocations: 97.08 kB / 379.3 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.2711, allocations: 0.9275 MB / 380.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.2711, allocations: 5.609 kB / 380.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/0.2712, allocations: 42.16 kB / 380.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.2712, allocations: 26.72 kB / 380.3 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.2724, allocations: 0.6232 MB / 381 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004131/0.2765, allocations: 3.869 MB / 384.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.277, allocations: 352.6 kB / 385.2 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.2773, allocations: 152.3 kB / 385.3 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.2773, allocations: 3.906 kB / 385.3 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.2773, allocations: 36.84 kB / 385.4 MB, free: 6.062 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.2774, allocations: 1.219 kB / 385.4 MB, free: 6.062 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.001938/0.2793, allocations: 1.201 MB / 386.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.2793, allocations: 81.95 kB / 386.7 MB, free: 5.184 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009684/0.2803, allocations: 0.8214 MB / 387.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.2803, allocations: 31.89 kB / 387.5 MB, free: 4.789 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.2806, allocations: 0.566 MB / 388.1 MB, free: 4.332 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.2807, allocations: 137.2 kB / 388.2 MB, free: 4.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.2808, allocations: 131.7 kB / 388.3 MB, free: 4.152 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.2809, allocations: 330.4 kB / 388.7 MB, free: 3.836 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.2812, allocations: 149.4 kB / 388.8 MB, free: 3.789 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.2816, allocations: 456.2 kB / 389.2 MB, free: 3.332 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006554/0.2822, allocations: 0.6299 MB / 389.9 MB, free: 2.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2822, allocations: 7.844 kB / 389.9 MB, free: 2.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001121/0.2834, allocations: 0.6869 MB / 390.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2834, allocations: 9.281 kB / 390.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.2834, allocations: 10.36 kB / 390.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.2836, allocations: 35.3 kB / 390.6 MB, free: 2.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.2841, allocations: 161.8 kB / 390.8 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007016/0.2848, allocations: 1.392 MB / 392.2 MB, free: 1.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.2853, allocations: 43.11 kB / 392.2 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.2853, allocations: 35.69 kB / 392.3 MB, free: 1.105 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.0003033/0.2857, allocations: 256.6 kB / 392.5 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.2858, allocations: 79.69 kB / 392.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/0.2864, allocations: 375.1 kB / 392.9 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2864, allocations: 7.234 kB / 393 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2864, allocations: 2.281 kB / 393 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2864, allocations: 0 / 393 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.288, allocations: 1.269 MB / 394.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.2881, allocations: 4.781 kB / 394.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.2884, allocations: 69.66 kB / 394.3 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.749e-05/0.2884, allocations: 25.23 kB / 394.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.507e-05/0.2885, allocations: 15.28 kB / 394.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000889/0.2894, allocations: 1.371 MB / 395.7 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2894, allocations: 3.469 kB / 395.7 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009494/0.2904, allocations: 0.6285 MB / 396.3 MB, free: 14.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.2906, allocations: 186.7 kB / 396.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.2907, allocations: 8.625 kB / 396.5 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.2911, allocations: 28.16 kB / 396.6 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.2912, allocations: 30.14 kB / 396.6 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.2912, allocations: 12.41 kB / 396.6 MB, free: 13.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007571/0.292, allocations: 0.5595 MB / 397.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.292, allocations: 0 / 397.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007274/0.2927, allocations: 192.4 kB / 397.3 MB, free: 13.73 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.0001843/0.2929, allocations: 119.3 kB / 397.5 MB, free: 13.63 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008756/0.2938, allocations: 0.514 MB / 398 MB, free: 13.42 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.2938, allocations: 2.125 kB / 398 MB, free: 13.42 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003793/0.2942, allocations: 264.7 kB / 398.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009485/0.2951, allocations: 214.3 kB / 398.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.2978, allocations: 1.697 MB / 400.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.2984, allocations: 0.9881 MB / 401.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003531/0.2987, allocations: 105.7 kB / 401.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.2989, allocations: 54.81 kB / 401.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2989, allocations: 0 / 401.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of Templates: time 0.01828/0.3172, allocations: 9.499 MB / 410.8 MB, free: 3.93 MB / 318.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 -s gbode -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