Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001421/0.001421, allocations: 112 kB / 17.28 MB, free: 6.047 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.00152/0.001521, allocations: 185.4 kB / 18.2 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.1 MB / 224 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 55.92 kB / 280.2 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1664, allocations: 46.62 MB / 326.8 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01343/0.1799, allocations: 7.899 MB / 334.7 MB, free: 12.83 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006906/0.187, allocations: 2.615 MB / 337.3 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.1892, allocations: 23.94 kB / 337.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002878/0.1922, allocations: 498.1 kB / 337.8 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.1947, allocations: 393.2 kB / 338.2 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008587/0.1956, allocations: 203.9 kB / 338.4 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002491/0.1981, allocations: 1.428 MB / 339.8 MB, free: 7.676 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.1995, allocations: 0.5885 MB / 340.4 MB, free: 7.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.2007, allocations: 0.5369 MB / 341 MB, free: 6.527 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000784/0.2015, allocations: 0.5833 MB / 341.5 MB, free: 5.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.2016, allocations: 136 kB / 341.7 MB, free: 5.809 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005272/0.2022, allocations: 176 kB / 341.8 MB, free: 5.637 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002754/0.2025, allocations: 271 kB / 342.1 MB, free: 5.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009617/0.2034, allocations: 0.6492 MB / 342.8 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.2057, allocations: 1.678 MB / 344.4 MB, free: 3.035 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.2058, allocations: 4 kB / 344.4 MB, free: 3.031 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2058, allocations: 0 / 344.4 MB, free: 3.031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.187e-05/0.2058, allocations: 0 / 344.4 MB, free: 3.031 MB / 286.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.002865/0.2087, allocations: 1.425 MB / 345.9 MB, free: 1.551 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.2087, allocations: 8.031 kB / 345.9 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006068/0.2094, allocations: 167.4 kB / 346 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.2105, allocations: 0.7222 MB / 346.8 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.779e-05/0.2106, allocations: 74 kB / 346.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.2108, allocations: 95.91 kB / 346.9 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.2125, allocations: 0.923 MB / 347.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.2126, allocations: 7.984 kB / 347.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.2126, allocations: 36 kB / 347.9 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.2127, allocations: 27.94 kB / 347.9 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.2138, allocations: 0.6207 MB / 348.5 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005572/0.2194, allocations: 3.913 MB / 352.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.2202, allocations: 355.6 kB / 352.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.2205, allocations: 144.8 kB / 352.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.2205, allocations: 8 kB / 352.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.2206, allocations: 34.56 kB / 353 MB, free: 10.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.534e-06/0.2206, allocations: 0 / 353 MB, free: 10.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002597/0.2232, allocations: 1.191 MB / 354.2 MB, free: 8.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.616e-05/0.2233, allocations: 81.11 kB / 354.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.2246, allocations: 0.8214 MB / 355.1 MB, free: 7.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.2247, allocations: 37.7 kB / 355.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004741/0.2251, allocations: 0.564 MB / 355.7 MB, free: 7.266 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.2252, allocations: 130.2 kB / 355.8 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.2254, allocations: 134.4 kB / 355.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2256, allocations: 334 kB / 356.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.2259, allocations: 145.9 kB / 356.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.2264, allocations: 460 kB / 356.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008766/0.2273, allocations: 0.6353 MB / 357.5 MB, free: 5.156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2273, allocations: 3.938 kB / 357.5 MB, free: 5.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001353/0.2287, allocations: 0.6925 MB / 358.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.2288, allocations: 11.12 kB / 358.2 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.2288, allocations: 12 kB / 358.2 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.229, allocations: 32.84 kB / 358.2 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004942/0.2295, allocations: 159.7 kB / 358.4 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001492/0.231, allocations: 1.394 MB / 359.8 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007327/0.2318, allocations: 40.14 kB / 359.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.2318, allocations: 32 kB / 359.9 MB, free: 2.633 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.0006201/0.2325, allocations: 265 kB / 360.1 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.2326, allocations: 86.91 kB / 360.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000859/0.2335, allocations: 382.4 kB / 360.6 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2335, allocations: 4 kB / 360.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2335, allocations: 0 / 360.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2335, allocations: 0 / 360.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.2358, allocations: 1.265 MB / 361.8 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.2358, allocations: 4 kB / 361.8 MB, free: 0.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.2361, allocations: 76.05 kB / 361.9 MB, free: 480 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.2362, allocations: 20.86 kB / 361.9 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.2363, allocations: 12 kB / 361.9 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.2376, allocations: 1.367 MB / 363.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2376, allocations: 4.031 kB / 363.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.2388, allocations: 0.6271 MB / 363.9 MB, free: 14.26 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003538/0.2392, allocations: 184.2 kB / 364.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.2393, allocations: 15.98 kB / 364.1 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.2396, allocations: 31.86 kB / 364.2 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.2398, allocations: 23.97 kB / 364.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.2399, allocations: 16 kB / 364.2 MB, free: 13.97 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009281/0.2408, allocations: 0.5615 MB / 364.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2408, allocations: 0 / 364.8 MB, free: 13.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009123/0.2417, allocations: 191.9 kB / 365 MB, free: 13.23 MB / 318.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.0003504/0.2421, allocations: 119.2 kB / 365.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.2434, allocations: 0.5347 MB / 365.6 MB, free: 12.56 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.2434, allocations: 3.938 kB / 365.6 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004686/0.2439, allocations: 267.6 kB / 365.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.2453, allocations: 223.1 kB / 366.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.249, allocations: 2.093 MB / 368.2 MB, free: 9.918 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007965/0.2498, allocations: 0.9962 MB / 369.2 MB, free: 8.895 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000457/0.2503, allocations: 106.9 kB / 369.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.2504, allocations: 51.44 kB / 369.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of SimCode: time 1.673e-06/0.2504, allocations: 0 / 369.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of Templates: time 0.2139/0.4643, allocations: 9.374 MB / 378.7 MB, free: 52.89 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches