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.00177/0.00177, allocations: 114.4 kB / 16.63 MB, free: 6.812 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.002188/0.002188, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.388/1.388, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 47.52 kB / 300.1 MB, free: 6.207 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1237, allocations: 49.44 MB / 349.6 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01032/0.134, allocations: 7.938 MB / 357.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004662/0.1387, allocations: 2.564 MB / 360.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006451/0.1394, allocations: 23.94 kB / 360.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.1409, allocations: 0.4942 MB / 360.6 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009744/0.1419, allocations: 389.2 kB / 361 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.1423, allocations: 215.7 kB / 361.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.1436, allocations: 1.424 MB / 362.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007222/0.1443, allocations: 0.5923 MB / 363.2 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000567/0.1449, allocations: 0.5407 MB / 363.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005314/0.1454, allocations: 0.5794 MB / 364.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.1456, allocations: 136 kB / 364.5 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.1459, allocations: 172 kB / 364.6 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.1461, allocations: 275 kB / 364.9 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005058/0.1466, allocations: 0.6531 MB / 365.5 MB, free: 4.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.148, allocations: 1.67 MB / 367.2 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.148, allocations: 0 / 367.2 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.148, allocations: 0 / 367.2 MB, free: 3.004 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.148, allocations: 3.938 kB / 367.2 MB, free: 3 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.002103/0.1501, allocations: 1.437 MB / 368.7 MB, free: 1.508 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1502, allocations: 12.03 kB / 368.7 MB, free: 1.496 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00053/0.1507, allocations: 175.3 kB / 368.8 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009551/0.1517, allocations: 0.7145 MB / 369.6 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.1517, allocations: 70 kB / 369.6 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.1519, allocations: 100 kB / 369.7 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1615/0.3133, allocations: 0.9128 MB / 370.6 MB, free: 25.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.3134, allocations: 9.016 kB / 370.6 MB, free: 25.24 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.3135, allocations: 38.62 kB / 370.7 MB, free: 25.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/0.3135, allocations: 26.06 kB / 370.7 MB, free: 25.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.3148, allocations: 0.6235 MB / 371.3 MB, free: 25.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004892/0.3197, allocations: 3.914 MB / 375.2 MB, free: 22.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.3202, allocations: 355 kB / 375.6 MB, free: 22.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.3205, allocations: 152.2 kB / 375.7 MB, free: 22.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.3205, allocations: 2.75 kB / 375.7 MB, free: 22.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/0.3205, allocations: 36.83 kB / 375.8 MB, free: 22.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 3.907e-06/0.3205, allocations: 0 / 375.8 MB, free: 22.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002088/0.3226, allocations: 1.193 MB / 377 MB, free: 21.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.3227, allocations: 81.02 kB / 377 MB, free: 21.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/0.3237, allocations: 0.8203 MB / 377.9 MB, free: 21.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.3237, allocations: 36.36 kB / 377.9 MB, free: 21.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002939/0.324, allocations: 0.5716 MB / 378.5 MB, free: 20.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.875e-05/0.3241, allocations: 123.7 kB / 378.6 MB, free: 20.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.3242, allocations: 128.2 kB / 378.7 MB, free: 20.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.224e-05/0.3243, allocations: 331.8 kB / 379 MB, free: 20.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.3246, allocations: 149 kB / 379.2 MB, free: 20.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.325, allocations: 457.2 kB / 379.6 MB, free: 19.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006717/0.3257, allocations: 0.6401 MB / 380.3 MB, free: 19.13 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3257, allocations: 2.688 kB / 380.3 MB, free: 19.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001065/0.3267, allocations: 0.6893 MB / 381 MB, free: 18.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3268, allocations: 10.8 kB / 381 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.3268, allocations: 10.75 kB / 381 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/0.327, allocations: 33.73 kB / 381 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.3274, allocations: 156.1 kB / 381.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007574/0.3282, allocations: 1.396 MB / 382.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.3287, allocations: 37.97 kB / 382.6 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.236e-05/0.3288, allocations: 32.69 kB / 382.6 MB, free: 17.36 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.0003298/0.3291, allocations: 259.5 kB / 382.9 MB, free: 17.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.3292, allocations: 85.56 kB / 383 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006919/0.3299, allocations: 377.9 kB / 383.3 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3299, allocations: 3.297 kB / 383.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3299, allocations: 1.312 kB / 383.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.33, allocations: 1.875 kB / 383.4 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.3318, allocations: 1.272 MB / 384.6 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3318, allocations: 5.156 kB / 384.6 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.3321, allocations: 69.25 kB / 384.7 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.643e-05/0.3322, allocations: 24.69 kB / 384.7 MB, free: 16.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.3323, allocations: 7.312 kB / 384.7 MB, free: 16.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006173/0.3329, allocations: 1.379 MB / 386.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3329, allocations: 2.531 kB / 386.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/0.3338, allocations: 0.6335 MB / 386.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.334, allocations: 188 kB / 386.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/0.3341, allocations: 13.36 kB / 386.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.3345, allocations: 21.7 kB / 387 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.3346, allocations: 40.41 kB / 387 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.3346, allocations: 9.266 kB / 387 MB, free: 14.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007228/0.3354, allocations: 0.5592 MB / 387.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3354, allocations: 1.094 kB / 387.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008023/0.3362, allocations: 188.2 kB / 387.8 MB, free: 13.92 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.0002211/0.3364, allocations: 130.5 kB / 387.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3374, allocations: 0.5126 MB / 388.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3374, allocations: 1.344 kB / 388.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.3378, allocations: 268.8 kB / 388.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.3388, allocations: 215.5 kB / 388.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.3413, allocations: 2.106 MB / 391 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.3418, allocations: 0.9975 MB / 392 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003966/0.3422, allocations: 98.09 kB / 392.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.3423, allocations: 57.33 kB / 392.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3423, allocations: 0 / 392.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01665/0.359, allocations: 9.381 MB / 401.5 MB, free: 5.52 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