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.001211/0.001211, allocations: 114.1 kB / 17.69 MB, free: 5.098 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.001111/0.001111, allocations: 192 kB / 18.63 MB, free: 4.25 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.358/1.358, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 52.61 kB / 302.1 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08932/0.09035, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01312/0.1035, allocations: 7.963 MB / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006439/0.11, allocations: 2.602 MB / 362.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.1111, allocations: 23.94 kB / 362.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.1131, allocations: 0.5442 MB / 362.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.115, allocations: 452.4 kB / 363.1 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007199/0.1158, allocations: 243.7 kB / 363.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.1181, allocations: 1.434 MB / 364.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.1193, allocations: 0.5884 MB / 365.4 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009964/0.1203, allocations: 0.5408 MB / 365.9 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008709/0.1212, allocations: 0.5833 MB / 366.5 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.1215, allocations: 136 kB / 366.6 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.1219, allocations: 172 kB / 366.8 MB, free: 4.355 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002905/0.1222, allocations: 278.9 kB / 367 MB, free: 4.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008017/0.123, allocations: 0.6454 MB / 367.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.1253, allocations: 1.693 MB / 369.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1253, allocations: 0 / 369.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1253, allocations: 0 / 369.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.1253, allocations: 4 kB / 369.4 MB, free: 1.73 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.003333/0.1287, allocations: 1.433 MB / 370.8 MB, free: 248 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1287, allocations: 11.97 kB / 370.8 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008529/0.1296, allocations: 171.3 kB / 371 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1702/0.2998, allocations: 0.7229 MB / 371.7 MB, free: 25.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-05/0.2999, allocations: 71.91 kB / 371.8 MB, free: 25.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/0.3002, allocations: 99.06 kB / 371.9 MB, free: 25.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/0.3023, allocations: 0.9263 MB / 372.8 MB, free: 24.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.313e-05/0.3024, allocations: 3.312 kB / 372.8 MB, free: 24.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.981e-05/0.3025, allocations: 37.53 kB / 372.9 MB, free: 24.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.3025, allocations: 23.88 kB / 372.9 MB, free: 24.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.3039, allocations: 0.6312 MB / 373.5 MB, free: 24.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005031/0.3089, allocations: 3.873 MB / 377.4 MB, free: 22.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.3095, allocations: 351.1 kB / 377.7 MB, free: 21.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.3098, allocations: 150.5 kB / 377.9 MB, free: 21.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.3098, allocations: 4.062 kB / 377.9 MB, free: 21.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.3098, allocations: 36.58 kB / 377.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.633e-06/0.3099, allocations: 3.094 kB / 377.9 MB, free: 21.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002217/0.3121, allocations: 1.185 MB / 379.1 MB, free: 21.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.3121, allocations: 81.77 kB / 379.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.3133, allocations: 0.8254 MB / 380 MB, free: 20.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.3134, allocations: 34.73 kB / 380 MB, free: 20.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.3137, allocations: 0.5656 MB / 380.6 MB, free: 20.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.153e-05/0.3138, allocations: 134.5 kB / 380.7 MB, free: 19.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.3139, allocations: 123 kB / 380.9 MB, free: 19.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.95e-05/0.314, allocations: 337.1 kB / 381.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.3143, allocations: 147.2 kB / 381.3 MB, free: 19.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004175/0.3147, allocations: 458.9 kB / 381.8 MB, free: 19.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007572/0.3155, allocations: 0.6409 MB / 382.4 MB, free: 18.53 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.3155, allocations: 2.188 kB / 382.4 MB, free: 18.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00137/0.3169, allocations: 0.6861 MB / 383.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.3169, allocations: 14.31 kB / 383.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.317, allocations: 10.72 kB / 383.1 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/0.3171, allocations: 37.45 kB / 383.2 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.3176, allocations: 160.9 kB / 383.3 MB, free: 18.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008129/0.3185, allocations: 1.386 MB / 384.7 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.3191, allocations: 34.92 kB / 384.7 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.3192, allocations: 32.47 kB / 384.8 MB, free: 16.77 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.0003515/0.3195, allocations: 264.6 kB / 385 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.3197, allocations: 83.27 kB / 385.1 MB, free: 16.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/0.3204, allocations: 370.4 kB / 385.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3204, allocations: 5.094 kB / 385.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3204, allocations: 3.75 kB / 385.5 MB, free: 16.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.3204, allocations: 6.766 kB / 385.5 MB, free: 16.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.3224, allocations: 1.265 MB / 386.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3224, allocations: 2.375 kB / 386.8 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.3227, allocations: 73.17 kB / 386.8 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.3228, allocations: 22.7 kB / 386.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.3229, allocations: 10.67 kB / 386.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006577/0.3235, allocations: 1.373 MB / 388.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3236, allocations: 1.375 kB / 388.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/0.3245, allocations: 0.6362 MB / 388.9 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.3248, allocations: 187.9 kB / 389.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3249, allocations: 17.31 kB / 389.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.3252, allocations: 21.95 kB / 389.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.3253, allocations: 32.73 kB / 389.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.3254, allocations: 9.375 kB / 389.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007881/0.3262, allocations: 0.5594 MB / 389.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3262, allocations: 0 / 389.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007716/0.3269, allocations: 188.8 kB / 389.9 MB, free: 13.33 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.0002129/0.3272, allocations: 135.1 kB / 390 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009979/0.3282, allocations: 0.507 MB / 390.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.3282, allocations: 0 / 390.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.3286, allocations: 271.7 kB / 390.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009807/0.3296, allocations: 210.3 kB / 391 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/0.3326, allocations: 1.684 MB / 392.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.3333, allocations: 0.9906 MB / 393.7 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005039/0.3338, allocations: 105.3 kB / 393.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.334, allocations: 61.22 kB / 393.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.334, allocations: 1.438 kB / 393.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Templates: time 0.01762/0.3516, allocations: 9.475 MB / 403.3 MB, free: 4.484 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 -s cvode -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/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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches