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.001038/0.001044, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.00102/0.00102, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.295/1.295, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 49.7 kB / 300.6 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09639, allocations: 49.45 MB / 350.1 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009069/0.1055, allocations: 7.974 MB / 358 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004243/0.1098, allocations: 2.591 MB / 360.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009249/0.1107, allocations: 23.94 kB / 360.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.1125, allocations: 0.5403 MB / 361.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.114, allocations: 460.4 kB / 361.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005975/0.1146, allocations: 247.6 kB / 361.9 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.1164, allocations: 1.424 MB / 363.3 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007637/0.1172, allocations: 0.5845 MB / 363.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006299/0.1178, allocations: 0.5291 MB / 364.4 MB, free: 5.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007823/0.1186, allocations: 0.5911 MB / 365 MB, free: 5.301 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.1188, allocations: 139.9 kB / 365.1 MB, free: 5.164 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.1191, allocations: 176 kB / 365.3 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.1193, allocations: 275 kB / 365.6 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005347/0.1199, allocations: 0.6492 MB / 366.2 MB, free: 4.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.1213, allocations: 1.674 MB / 367.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1213, allocations: 0 / 367.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1213, allocations: 0 / 367.9 MB, free: 2.391 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.1213, allocations: 0 / 367.9 MB, free: 2.391 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.00227/0.1236, allocations: 1.433 MB / 369.3 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1237, allocations: 12.03 kB / 369.4 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005655/0.1242, allocations: 171.3 kB / 369.5 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1588/0.2831, allocations: 0.7073 MB / 370.2 MB, free: 25.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.2832, allocations: 72.75 kB / 370.3 MB, free: 25.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/0.2835, allocations: 95.16 kB / 370.4 MB, free: 25.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/0.2852, allocations: 0.9239 MB / 371.3 MB, free: 24.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.2852, allocations: 5.797 kB / 371.3 MB, free: 24.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.079e-05/0.2853, allocations: 41.66 kB / 371.4 MB, free: 24.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.2853, allocations: 23.19 kB / 371.4 MB, free: 24.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.2865, allocations: 0.6233 MB / 372 MB, free: 24.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004583/0.2911, allocations: 3.918 MB / 375.9 MB, free: 22.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.2917, allocations: 353.4 kB / 376.3 MB, free: 22.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.2919, allocations: 147.5 kB / 376.4 MB, free: 21.98 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.292, allocations: 4.781 kB / 376.4 MB, free: 21.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.292, allocations: 38.75 kB / 376.5 MB, free: 21.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.575e-06/0.292, allocations: 0 / 376.5 MB, free: 21.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002286/0.2943, allocations: 1.194 MB / 377.7 MB, free: 21.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.2943, allocations: 79.92 kB / 377.7 MB, free: 21.06 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.2954, allocations: 0.8288 MB / 378.6 MB, free: 20.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.2955, allocations: 31.42 kB / 378.6 MB, free: 20.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.2958, allocations: 0.5642 MB / 379.2 MB, free: 20.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.286e-05/0.2959, allocations: 126.8 kB / 379.3 MB, free: 20.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.2961, allocations: 128.2 kB / 379.4 MB, free: 20.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.2961, allocations: 337.2 kB / 379.7 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.2964, allocations: 146.7 kB / 379.9 MB, free: 19.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.2968, allocations: 466.1 kB / 380.3 MB, free: 19.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/0.2976, allocations: 0.6378 MB / 381 MB, free: 18.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.2976, allocations: 6.469 kB / 381 MB, free: 18.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001121/0.2987, allocations: 0.6858 MB / 381.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2987, allocations: 8.938 kB / 381.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.2988, allocations: 11.25 kB / 381.7 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.2989, allocations: 36.44 kB / 381.7 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.2994, allocations: 162.1 kB / 381.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007616/0.3002, allocations: 1.39 MB / 383.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.3007, allocations: 33.41 kB / 383.3 MB, free: 16.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/0.3007, allocations: 32.88 kB / 383.3 MB, free: 16.88 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.0002779/0.301, allocations: 264.8 kB / 383.6 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3011, allocations: 86.95 kB / 383.7 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006723/0.3018, allocations: 371.4 kB / 384 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3018, allocations: 3.281 kB / 384 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3018, allocations: 1.828 kB / 384 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3018, allocations: 1.266 kB / 384 MB, free: 16.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.3036, allocations: 1.27 MB / 385.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.3036, allocations: 3.406 kB / 385.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.304, allocations: 72.25 kB / 385.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.946e-05/0.304, allocations: 20.5 kB / 385.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.3041, allocations: 8.531 kB / 385.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006225/0.3047, allocations: 1.372 MB / 386.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3047, allocations: 10.22 kB / 386.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.3056, allocations: 0.6316 MB / 387.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.3059, allocations: 182.5 kB / 387.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.306, allocations: 17.53 kB / 387.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/0.3063, allocations: 31.05 kB / 387.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.3064, allocations: 25.47 kB / 387.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.3064, allocations: 10.72 kB / 387.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007408/0.3072, allocations: 0.5588 MB / 388.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3072, allocations: 0 / 388.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007575/0.308, allocations: 188.2 kB / 388.4 MB, free: 13.44 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.0001665/0.3081, allocations: 132.2 kB / 388.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009794/0.3091, allocations: 0.5149 MB / 389.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3091, allocations: 0.7812 kB / 389.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.3095, allocations: 274.4 kB / 389.3 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.3106, allocations: 218.3 kB / 389.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.3134, allocations: 1.707 MB / 391.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.3139, allocations: 0.9953 MB / 392.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000418/0.3143, allocations: 101.7 kB / 392.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3144, allocations: 53.16 kB / 392.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3144, allocations: 0 / 392.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of Templates: time 0.01754/0.332, allocations: 9.494 MB / 401.9 MB, free: 4.859 MB / 302.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