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.001157/0.001162, allocations: 107.6 kB / 17.06 MB, free: 6.023 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.001202/0.001202, allocations: 191 kB / 18 MB, free: 5.105 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.351/1.351, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 51.92 kB / 351.3 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2756, allocations: 49.43 MB / 400.7 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01021/0.2859, allocations: 7.984 MB / 408.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00467/0.2906, allocations: 2.598 MB / 411.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.2916, allocations: 23.94 kB / 411.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.2936, allocations: 0.5676 MB / 411.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.2955, allocations: 492.4 kB / 412.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008451/0.2964, allocations: 235.8 kB / 412.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.2983, allocations: 1.44 MB / 414.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007782/0.2991, allocations: 0.5768 MB / 414.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006983/0.2998, allocations: 0.5447 MB / 415.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.3004, allocations: 0.5794 MB / 415.8 MB, free: 9.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.3006, allocations: 136 kB / 415.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.3009, allocations: 180 kB / 416.1 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.3011, allocations: 274.9 kB / 416.3 MB, free: 9.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005692/0.3017, allocations: 0.6531 MB / 417 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.3034, allocations: 1.693 MB / 418.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3034, allocations: 0 / 418.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3035, allocations: 0 / 418.7 MB, free: 6.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.3035, allocations: 0 / 418.7 MB, free: 6.992 MB / 334.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.002467/0.306, allocations: 1.433 MB / 420.1 MB, free: 5.508 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.306, allocations: 8.031 kB / 420.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005927/0.3066, allocations: 167.4 kB / 420.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.3078, allocations: 0.7301 MB / 421 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.3078, allocations: 70 kB / 421.1 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.308, allocations: 103.9 kB / 421.2 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.3094, allocations: 0.9229 MB / 422.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/0.3095, allocations: 0 / 422.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/0.3096, allocations: 44 kB / 422.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.3096, allocations: 20 kB / 422.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.3108, allocations: 0.6246 MB / 422.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004918/0.3157, allocations: 3.885 MB / 426.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/0.3163, allocations: 355.6 kB / 427 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.3166, allocations: 140.8 kB / 427.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.3167, allocations: 4 kB / 427.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3167, allocations: 42.56 kB / 427.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.304e-06/0.3167, allocations: 0 / 427.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.002512/0.3193, allocations: 1.195 MB / 428.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.3193, allocations: 81.11 kB / 428.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.3205, allocations: 0.8213 MB / 429.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.3206, allocations: 29.7 kB / 429.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.321, allocations: 0.5757 MB / 429.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.686e-05/0.3211, allocations: 130.2 kB / 430 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/0.3213, allocations: 126.5 kB / 430.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3215, allocations: 334 kB / 430.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.3218, allocations: 149.9 kB / 430.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005231/0.3223, allocations: 455.9 kB / 431.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.3232, allocations: 0.644 MB / 431.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.3232, allocations: 4 kB / 431.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001176/0.3244, allocations: 0.6848 MB / 432.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3244, allocations: 12 kB / 432.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.3244, allocations: 12.11 kB / 432.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.3246, allocations: 40.83 kB / 432.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004952/0.3251, allocations: 155.7 kB / 432.6 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001076/0.3262, allocations: 1.386 MB / 434 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.3267, allocations: 35.92 kB / 434 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.3268, allocations: 35.98 kB / 434.1 MB, free: 6.613 MB / 350.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.0003761/0.3271, allocations: 265.6 kB / 434.3 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.3273, allocations: 90.84 kB / 434.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007442/0.328, allocations: 370.5 kB / 434.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.328, allocations: 4 kB / 434.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.328, allocations: 0 / 434.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.328, allocations: 7.984 kB / 434.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001795/0.3298, allocations: 1.271 MB / 436.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3299, allocations: 0 / 436.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.3302, allocations: 71.84 kB / 436.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-05/0.3303, allocations: 24.84 kB / 436.2 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.3303, allocations: 8 kB / 436.2 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009985/0.3313, allocations: 1.375 MB / 437.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3313, allocations: 3.938 kB / 437.6 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009978/0.3323, allocations: 0.6396 MB / 438.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002331/0.3326, allocations: 184.2 kB / 438.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/0.3327, allocations: 8 kB / 438.4 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.333, allocations: 27.91 kB / 438.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/0.3331, allocations: 27.97 kB / 438.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.3332, allocations: 12 kB / 438.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007501/0.3339, allocations: 0.5615 MB / 439 MB, free: 1.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3339, allocations: 3.938 kB / 439 MB, free: 1.375 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007726/0.3347, allocations: 188 kB / 439.2 MB, free: 1.191 MB / 350.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.0002081/0.3349, allocations: 123.1 kB / 439.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3359, allocations: 0.5106 MB / 439.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.336, allocations: 1.812 kB / 439.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.3364, allocations: 262.9 kB / 440.1 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009787/0.3374, allocations: 221.3 kB / 440.3 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.34, allocations: 1.687 MB / 442 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.3406, allocations: 0.9923 MB / 443 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003178/0.3409, allocations: 106.9 kB / 443.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.341, allocations: 51.44 kB / 443.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.341, allocations: 4 kB / 443.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Templates: time 0.01791/0.359, allocations: 9.651 MB / 452.8 MB, free: 3.613 MB / 366.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins/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