Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001078/0.001078, allocations: 111.2 kB / 18.41 MB, free: 4.562 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.001103/0.001103, allocations: 187.3 kB / 19.33 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 47.94 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07261/0.07377, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.1602/0.234, allocations: 7.928 MB / 383.8 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003403/0.2375, allocations: 2.625 MB / 386.4 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004607/0.238, allocations: 28.03 kB / 386.4 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.2392, allocations: 0.58 MB / 387 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007941/0.24, allocations: 487.8 kB / 387.5 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.2404, allocations: 251.5 kB / 387.7 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001053/0.2415, allocations: 1.432 MB / 389.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006776/0.2421, allocations: 0.5828 MB / 389.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005455/0.2427, allocations: 0.5411 MB / 390.3 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005433/0.2433, allocations: 0.5806 MB / 390.9 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.2434, allocations: 135.4 kB / 391 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.2438, allocations: 177.2 kB / 391.2 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.244, allocations: 280.3 kB / 391.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.2445, allocations: 0.6402 MB / 392.1 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001665/0.2461, allocations: 1.698 MB / 393.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2462, allocations: 1.062 kB / 393.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.2462, allocations: 0 / 393.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.2462, allocations: 3.938 kB / 393.8 MB, free: 4.234 MB / 318.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.002105/0.2483, allocations: 1.431 MB / 395.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2484, allocations: 8.891 kB / 395.2 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005413/0.2489, allocations: 172.3 kB / 395.4 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.25, allocations: 0.7232 MB / 396.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.25, allocations: 78.28 kB / 396.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.2502, allocations: 99.67 kB / 396.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.2517, allocations: 0.9231 MB / 397.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.2517, allocations: 5.297 kB / 397.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.518e-05/0.2518, allocations: 46.64 kB / 397.3 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.2518, allocations: 23.72 kB / 397.3 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.253, allocations: 0.6177 MB / 397.9 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004283/0.2573, allocations: 3.868 MB / 401.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.2579, allocations: 352.5 kB / 402.1 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.2582, allocations: 142.4 kB / 402.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.2582, allocations: 7.875 kB / 402.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.2582, allocations: 36.75 kB / 402.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.185e-06/0.2582, allocations: 1.312 kB / 402.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002244/0.2605, allocations: 1.192 MB / 403.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.2606, allocations: 85.84 kB / 403.6 MB, free: 14.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.2617, allocations: 0.8335 MB / 404.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.2617, allocations: 31.92 kB / 404.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/0.2621, allocations: 0.5593 MB / 405 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/0.2622, allocations: 131.7 kB / 405.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.2623, allocations: 131 kB / 405.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2625, allocations: 327.7 kB / 405.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.2628, allocations: 151.6 kB / 405.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.2633, allocations: 463.2 kB / 406.2 MB, free: 12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000804/0.2641, allocations: 0.628 MB / 406.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.2641, allocations: 7.25 kB / 406.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001164/0.2653, allocations: 0.6925 MB / 407.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2653, allocations: 13.44 kB / 407.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.2653, allocations: 14 kB / 407.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.2655, allocations: 35.5 kB / 407.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000487/0.266, allocations: 164.9 kB / 407.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009257/0.2669, allocations: 1.388 MB / 409.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.2674, allocations: 39.39 kB / 409.1 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.2675, allocations: 30.78 kB / 409.2 MB, free: 9.527 MB / 334.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.0003122/0.2678, allocations: 259.9 kB / 409.4 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.2679, allocations: 88 kB / 409.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007157/0.2686, allocations: 373 kB / 409.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2686, allocations: 0 / 409.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2686, allocations: 1.094 kB / 409.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.2689, allocations: 189.9 kB / 410.1 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.269, allocations: 6.156 kB / 410.1 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.2694, allocations: 27.19 kB / 410.1 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.2694, allocations: 22.75 kB / 410.1 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008568/0.2703, allocations: 416.7 kB / 410.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000919/0.2712, allocations: 0.6478 MB / 411.2 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002375/0.2715, allocations: 126.6 kB / 411.3 MB, free: 8.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007337/0.2722, allocations: 0.5603 MB / 411.9 MB, free: 7.742 MB / 334.1 MB Notification: Performance of Backend: time 3.01e-07/0.2722, allocations: 0 / 411.9 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.2734, allocations: 0.5053 MB / 412.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of SimCode: time 0.002972/0.2764, allocations: 2.254 MB / 414.6 MB, free: 5.828 MB / 334.1 MB Notification: Performance of Templates: time 0.01762/0.2941, allocations: 10.37 MB / 425 MB, free: 13.48 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches