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.001164/0.001164, allocations: 110.9 kB / 17.74 MB, free: 5.207 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.001208/0.001208, allocations: 176.2 kB / 18.66 MB, free: 4.293 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.294/1.294, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 51.92 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2398, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008341/0.2481, allocations: 7.979 MB / 409.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004303/0.2525, allocations: 2.594 MB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000729/0.2533, allocations: 23.94 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.2546, allocations: 0.5442 MB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.2556, allocations: 456.4 kB / 413 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.256, allocations: 243.7 kB / 413.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.2573, allocations: 1.434 MB / 414.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007851/0.2581, allocations: 0.5885 MB / 415.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007172/0.2588, allocations: 0.5369 MB / 415.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006355/0.2595, allocations: 0.5833 MB / 416.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.2596, allocations: 136 kB / 416.5 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003072/0.26, allocations: 180 kB / 416.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.2601, allocations: 271 kB / 417 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005186/0.2607, allocations: 0.6531 MB / 417.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.2622, allocations: 1.697 MB / 419.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2622, allocations: 0 / 419.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2622, allocations: 0 / 419.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.2622, allocations: 0 / 419.3 MB, free: 6.875 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.002139/0.2644, allocations: 1.429 MB / 420.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2644, allocations: 8.031 kB / 420.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005389/0.265, allocations: 175.3 kB / 420.9 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.266, allocations: 0.7184 MB / 421.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-05/0.2661, allocations: 74 kB / 421.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.2662, allocations: 103.9 kB / 421.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.2677, allocations: 0.9268 MB / 422.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.2678, allocations: 0 / 422.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.2678, allocations: 44 kB / 422.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.2679, allocations: 28 kB / 422.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.269, allocations: 0.6207 MB / 423.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004514/0.2736, allocations: 3.87 MB / 427.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.2741, allocations: 363.6 kB / 427.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.2744, allocations: 140.8 kB / 427.8 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.2744, allocations: 4 kB / 427.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.2745, allocations: 38.56 kB / 427.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.2745, allocations: 0 / 427.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.0021/0.2766, allocations: 1.199 MB / 429 MB, free: 12.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.2766, allocations: 81.11 kB / 429.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00096/0.2776, allocations: 0.8291 MB / 429.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2776, allocations: 33.64 kB / 430 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.278, allocations: 0.5601 MB / 430.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.373e-05/0.2781, allocations: 134.2 kB / 430.7 MB, free: 11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.2783, allocations: 130.5 kB / 430.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2784, allocations: 330 kB / 431.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.2787, allocations: 149.9 kB / 431.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004781/0.2792, allocations: 459.9 kB / 431.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008386/0.2801, allocations: 0.6401 MB / 432.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.2801, allocations: 8 kB / 432.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001102/0.2812, allocations: 0.6844 MB / 433 MB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2812, allocations: 12 kB / 433 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.2812, allocations: 8 kB / 433.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.2814, allocations: 36.84 kB / 433.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/0.2819, allocations: 160.1 kB / 433.2 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.2829, allocations: 1.394 MB / 434.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.2835, allocations: 31.98 kB / 434.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.2836, allocations: 32 kB / 434.7 MB, free: 6.5 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.0003872/0.2839, allocations: 265.4 kB / 435 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.2841, allocations: 86.97 kB / 435 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007082/0.2848, allocations: 378.5 kB / 435.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2848, allocations: 4 kB / 435.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2848, allocations: 0 / 435.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2848, allocations: 3.938 kB / 435.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.2866, allocations: 1.267 MB / 436.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2866, allocations: 0 / 436.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.2869, allocations: 80.05 kB / 436.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.96e-05/0.287, allocations: 20.86 kB / 436.8 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.287, allocations: 11.98 kB / 436.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009275/0.288, allocations: 1.371 MB / 438.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.288, allocations: 3.938 kB / 438.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009367/0.2889, allocations: 0.6396 MB / 438.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.2892, allocations: 184.2 kB / 439 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.185e-05/0.2893, allocations: 11.98 kB / 439 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/0.2896, allocations: 23.92 kB / 439 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.2897, allocations: 23.97 kB / 439.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.2897, allocations: 12.09 kB / 439.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006907/0.2904, allocations: 0.5693 MB / 439.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2904, allocations: 0 / 439.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006865/0.2911, allocations: 188 kB / 439.8 MB, free: 1.078 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.0002257/0.2913, allocations: 131.1 kB / 439.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009335/0.2923, allocations: 0.5121 MB / 440.5 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2923, allocations: 0 / 440.5 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.2927, allocations: 266.4 kB / 440.7 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/0.2937, allocations: 214 kB / 440.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.2963, allocations: 1.716 MB / 442.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005498/0.2968, allocations: 0.9962 MB / 443.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.297, allocations: 59.38 kB / 443.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.297, allocations: 0 / 443.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of Templates: time 0.01905/0.316, allocations: 15.82 MB / 459.5 MB, free: 13.31 MB / 382.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/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