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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009629/0.0009629, allocations: 104.7 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 39.94 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2341, allocations: 49.44 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009561/0.2437, allocations: 7.947 MB / 407.4 MB, free: 25.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004356/0.2481, allocations: 2.558 MB / 410 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006765/0.2489, allocations: 23.94 kB / 410 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.2505, allocations: 0.4903 MB / 410.5 MB, free: 22.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.2517, allocations: 393.2 kB / 410.9 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.2523, allocations: 219.8 kB / 411.1 MB, free: 21.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.2537, allocations: 1.371 MB / 412.5 MB, free: 20.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008004/0.2545, allocations: 0.5045 MB / 413 MB, free: 19.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006323/0.2551, allocations: 0.4899 MB / 413.5 MB, free: 19.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005763/0.2557, allocations: 0.5443 MB / 414 MB, free: 18.78 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.2559, allocations: 84 kB / 414.1 MB, free: 18.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.2562, allocations: 120 kB / 414.2 MB, free: 18.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.2564, allocations: 223 kB / 414.4 MB, free: 18.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005374/0.2569, allocations: 0.6024 MB / 415 MB, free: 17.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.2584, allocations: 1.643 MB / 416.7 MB, free: 16.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2584, allocations: 0 / 416.7 MB, free: 16.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2584, allocations: 0 / 416.7 MB, free: 16.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.2585, allocations: 0 / 416.7 MB, free: 16.11 MB / 298.7 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.002709/0.2612, allocations: 1.421 MB / 418.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2612, allocations: 8.031 kB / 418.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006971/0.2619, allocations: 175.3 kB / 418.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.2631, allocations: 0.7183 MB / 419 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.2632, allocations: 74 kB / 419.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.2634, allocations: 92 kB / 419.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/0.2652, allocations: 0.9268 MB / 420.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.2652, allocations: 7.906 kB / 420.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.586e-05/0.2653, allocations: 40 kB / 420.1 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.2653, allocations: 24 kB / 420.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.2669, allocations: 0.6207 MB / 420.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005252/0.2721, allocations: 3.909 MB / 424.7 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/0.2728, allocations: 351.7 kB / 425 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.2732, allocations: 148.8 kB / 425.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.2732, allocations: 4 kB / 425.2 MB, free: 7.215 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.2732, allocations: 38.5 kB / 425.2 MB, free: 7.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 2.765e-06/0.2732, allocations: 0 / 425.2 MB, free: 7.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.002433/0.2757, allocations: 1.192 MB / 426.4 MB, free: 5.898 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.2757, allocations: 85.09 kB / 426.5 MB, free: 5.797 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.2768, allocations: 0.8252 MB / 427.3 MB, free: 4.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.2768, allocations: 29.7 kB / 427.3 MB, free: 4.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.2771, allocations: 0.5679 MB / 427.9 MB, free: 4.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.474e-05/0.2772, allocations: 134.2 kB / 428 MB, free: 4.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.2774, allocations: 130.5 kB / 428.2 MB, free: 4.078 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.2775, allocations: 334 kB / 428.5 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.2779, allocations: 141.9 kB / 428.6 MB, free: 3.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/0.2784, allocations: 467.9 kB / 429.1 MB, free: 3.008 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009695/0.2794, allocations: 0.6366 MB / 429.7 MB, free: 2.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.2794, allocations: 8 kB / 429.7 MB, free: 2.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001446/0.2809, allocations: 0.6809 MB / 430.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.2809, allocations: 8.625 kB / 430.4 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.2809, allocations: 12 kB / 430.4 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.2811, allocations: 36.78 kB / 430.5 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/0.2818, allocations: 159.7 kB / 430.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007142/0.2825, allocations: 1.292 MB / 431.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.283, allocations: 39.92 kB / 432 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.283, allocations: 36.16 kB / 432 MB, free: 15.81 MB / 314.7 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.0003248/0.2834, allocations: 253.5 kB / 432.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.2835, allocations: 82.97 kB / 432.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006926/0.2842, allocations: 371.5 kB / 432.7 MB, free: 15.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.2842, allocations: 15.97 kB / 432.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2842, allocations: 0 / 432.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2842, allocations: 0 / 432.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.2859, allocations: 1.263 MB / 434 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2859, allocations: 4 kB / 434 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002892/0.2862, allocations: 71.89 kB / 434 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.218e-05/0.2863, allocations: 24.8 kB / 434.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.2863, allocations: 12.22 kB / 434.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007621/0.2871, allocations: 1.276 MB / 435.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2871, allocations: 8.156 kB / 435.4 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004543/0.2916, allocations: 4.163 MB / 439.5 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.2919, allocations: 192.1 kB / 439.7 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/0.292, allocations: 8 kB / 439.7 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.2923, allocations: 20.08 kB / 439.7 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.2924, allocations: 35.83 kB / 439.8 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.2924, allocations: 16.09 kB / 439.8 MB, free: 7.449 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006621/0.2931, allocations: 0.5615 MB / 440.3 MB, free: 6.895 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2931, allocations: 0 / 440.3 MB, free: 6.895 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008083/0.2939, allocations: 272 kB / 440.6 MB, free: 6.629 MB / 314.7 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.0001876/0.2941, allocations: 115.3 kB / 440.7 MB, free: 6.508 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008857/0.295, allocations: 0.5199 MB / 441.2 MB, free: 5.977 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.295, allocations: 0 / 441.2 MB, free: 5.977 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.2954, allocations: 267.6 kB / 441.5 MB, free: 5.703 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.2964, allocations: 197.2 kB / 441.7 MB, free: 5.512 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.2993, allocations: 2.458 MB / 444.2 MB, free: 2.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.2998, allocations: 1.004 MB / 445.2 MB, free: 1.949 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003992/0.3002, allocations: 102.9 kB / 445.3 MB, free: 1.844 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3004, allocations: 55.44 kB / 445.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of SimCode: time 1.773e-06/0.3004, allocations: 0 / 445.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of Templates: time 0.01686/0.3173, allocations: 9.692 MB / 455 MB, free: 8.215 MB / 330.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../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