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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00201/0.00201, allocations: 107.6 kB / 21.18 MB, free: 472 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003376/0.003376, allocations: 205.4 kB / 24.47 MB, free: 3.801 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 207.7 MB / 235.3 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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=20000,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") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 55.92 kB / 347.7 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2945, allocations: 49.16 MB / 396.9 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008425/0.303, allocations: 7.001 MB / 403.9 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005108/0.3081, allocations: 2.453 MB / 406.3 MB, free: 3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.3094, allocations: 27.88 kB / 406.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.3111, allocations: 0.5287 MB / 406.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.3122, allocations: 489.7 kB / 407.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.3128, allocations: 239.9 kB / 407.6 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.3141, allocations: 1.431 MB / 409 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006312/0.3148, allocations: 375.7 kB / 409.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007999/0.3156, allocations: 0.5596 MB / 409.9 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006401/0.3162, allocations: 0.4974 MB / 410.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.3164, allocations: 136 kB / 410.6 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004062/0.3168, allocations: 168.4 kB / 410.7 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.317, allocations: 278.8 kB / 411 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000504/0.3175, allocations: 0.5239 MB / 411.5 MB, free: 224 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.3194, allocations: 1.716 MB / 413.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.3194, allocations: 0 / 413.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3194, allocations: 5.031 kB / 413.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.3194, allocations: 0 / 413.3 MB, free: 15.01 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.002436/0.3219, allocations: 1.386 MB / 414.6 MB, free: 13.97 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3219, allocations: 18.25 kB / 414.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005636/0.3225, allocations: 177.9 kB / 414.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.3238, allocations: 0.6615 MB / 415.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/0.3238, allocations: 68 kB / 415.6 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3239, allocations: 99.8 kB / 415.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.3257, allocations: 0.9955 MB / 416.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/0.3257, allocations: 14.23 kB / 416.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.788e-05/0.3258, allocations: 45.05 kB / 416.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.3258, allocations: 23.53 kB / 416.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.3271, allocations: 0.6205 MB / 417.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004809/0.3319, allocations: 3.341 MB / 420.7 MB, free: 9.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.3324, allocations: 260.2 kB / 420.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.3327, allocations: 141.7 kB / 421.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.3327, allocations: 8.031 kB / 421.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.3328, allocations: 37.16 kB / 421.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.3328, allocations: 0 / 421.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002298/0.3351, allocations: 1.042 MB / 422.2 MB, free: 8.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.3351, allocations: 85.2 kB / 422.3 MB, free: 8.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.3362, allocations: 0.7511 MB / 423 MB, free: 7.961 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.3362, allocations: 35.98 kB / 423 MB, free: 7.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.3367, allocations: 0.5902 MB / 423.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3368, allocations: 135.1 kB / 423.8 MB, free: 7.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.337, allocations: 128 kB / 423.9 MB, free: 7.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3371, allocations: 378.1 kB / 424.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003341/0.3375, allocations: 147.3 kB / 424.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.3381, allocations: 490.3 kB / 424.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009386/0.339, allocations: 0.6279 MB / 425.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.339, allocations: 3.438 kB / 425.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001186/0.3402, allocations: 0.6853 MB / 426.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.3402, allocations: 12.81 kB / 426.2 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.3402, allocations: 11.94 kB / 426.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.3404, allocations: 36.84 kB / 426.3 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.3409, allocations: 155.8 kB / 426.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.342, allocations: 1.276 MB / 427.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.3425, allocations: 40.09 kB / 427.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.3425, allocations: 32 kB / 427.8 MB, free: 3.398 MB / 334.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.0003527/0.3429, allocations: 261.8 kB / 428 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.343, allocations: 75.53 kB / 428.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007339/0.3437, allocations: 369.3 kB / 428.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3437, allocations: 4 kB / 428.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.3437, allocations: 4 kB / 428.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.3437, allocations: 7.922 kB / 428.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.3455, allocations: 1.028 MB / 429.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3455, allocations: 4 kB / 429.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.3458, allocations: 76.11 kB / 429.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.736e-05/0.3458, allocations: 24.84 kB / 429.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.3459, allocations: 8 kB / 429.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009458/0.3468, allocations: 1.248 MB / 430.8 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.3468, allocations: 8.016 kB / 430.9 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.3478, allocations: 0.6328 MB / 431.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.348, allocations: 103.5 kB / 431.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.3481, allocations: 16 kB / 431.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.3485, allocations: 19.98 kB / 431.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.3485, allocations: 35.83 kB / 431.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.3486, allocations: 12 kB / 431.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006482/0.3492, allocations: 0.5029 MB / 432.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3492, allocations: 0 / 432.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000689/0.3499, allocations: 187.9 kB / 432.4 MB, free: 14.57 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.0001745/0.3501, allocations: 119.2 kB / 432.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009185/0.351, allocations: 0.489 MB / 433 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.351, allocations: 0 / 433 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.3514, allocations: 266.4 kB / 433.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008929/0.3523, allocations: 185.1 kB / 433.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.3552, allocations: 1.714 MB / 435.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.3556, allocations: 408.7 kB / 435.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.3559, allocations: 94.28 kB / 435.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.3561, allocations: 51.44 kB / 435.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3561, allocations: 0 / 435.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Templates: time 0.02097/0.377, allocations: 10.34 MB / 446 MB, free: 0.793 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.035038407891989]