Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00158/0.00158, allocations: 116.5 kB / 18.45 MB, free: 4.562 MB / 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.001812/0.001812, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 47.92 kB / 374.2 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09835/0.09984, allocations: 53.33 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009789/0.1096, allocations: 8.044 MB / 435.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004692/0.1143, allocations: 2.63 MB / 438.2 MB, free: 9.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008071/0.1151, allocations: 27.88 kB / 438.2 MB, free: 9.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.1166, allocations: 0.5715 MB / 438.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.1179, allocations: 496.4 kB / 439.2 MB, free: 8.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.1184, allocations: 239.7 kB / 439.5 MB, free: 8.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001769/0.1202, allocations: 1.428 MB / 440.9 MB, free: 6.793 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006799/0.1209, allocations: 414.7 kB / 441.3 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008848/0.1218, allocations: 0.5564 MB / 441.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007096/0.1225, allocations: 0.5833 MB / 442.5 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.1227, allocations: 136 kB / 442.6 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.123, allocations: 176 kB / 442.8 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.1232, allocations: 274.9 kB / 443 MB, free: 4.645 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006303/0.1239, allocations: 0.6493 MB / 443.7 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.1259, allocations: 1.7 MB / 445.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1259, allocations: 0 / 445.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1259, allocations: 0 / 445.4 MB, free: 2.285 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.973e-05/0.1259, allocations: 3.938 kB / 445.4 MB, free: 2.281 MB / 366.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.002586/0.1285, allocations: 1.463 MB / 446.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1285, allocations: 8.031 kB / 446.8 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005789/0.1291, allocations: 176.1 kB / 447 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2223/0.3514, allocations: 0.7301 MB / 447.8 MB, free: 24.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/0.3515, allocations: 69.53 kB / 447.8 MB, free: 24.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.3516, allocations: 101.8 kB / 447.9 MB, free: 24.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.3534, allocations: 0.9213 MB / 448.8 MB, free: 23.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.3534, allocations: 7.016 kB / 448.8 MB, free: 23.97 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/0.3535, allocations: 41.59 kB / 448.9 MB, free: 23.97 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/0.3535, allocations: 23.59 kB / 448.9 MB, free: 23.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.3546, allocations: 0.6241 MB / 449.5 MB, free: 23.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004596/0.3592, allocations: 3.879 MB / 453.4 MB, free: 21.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.3597, allocations: 340.9 kB / 453.7 MB, free: 21.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.36, allocations: 141.3 kB / 453.9 MB, free: 21.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.36, allocations: 6.156 kB / 453.9 MB, free: 21.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3601, allocations: 40.09 kB / 453.9 MB, free: 21.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.033e-06/0.3601, allocations: 1.219 kB / 453.9 MB, free: 21.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002288/0.3623, allocations: 1.207 MB / 455.1 MB, free: 20.39 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.3624, allocations: 81.33 kB / 455.2 MB, free: 20.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.3635, allocations: 0.8219 MB / 456 MB, free: 19.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.3636, allocations: 35.8 kB / 456.1 MB, free: 19.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003398/0.3639, allocations: 0.5797 MB / 456.7 MB, free: 19.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.387e-05/0.364, allocations: 143.3 kB / 456.8 MB, free: 19.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.3641, allocations: 122.8 kB / 456.9 MB, free: 19.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/0.3642, allocations: 340.2 kB / 457.2 MB, free: 19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.3645, allocations: 147.8 kB / 457.4 MB, free: 18.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.3649, allocations: 460.8 kB / 457.8 MB, free: 18.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/0.3657, allocations: 0.6303 MB / 458.5 MB, free: 17.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.3657, allocations: 2.406 kB / 458.5 MB, free: 17.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001331/0.367, allocations: 0.6936 MB / 459.2 MB, free: 17.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.367, allocations: 10.08 kB / 459.2 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.3671, allocations: 14.84 kB / 459.2 MB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001932/0.3673, allocations: 35.95 kB / 459.2 MB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.3678, allocations: 155.5 kB / 459.4 MB, free: 17.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008234/0.3686, allocations: 1.389 MB / 460.8 MB, free: 16.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.3692, allocations: 38.25 kB / 460.8 MB, free: 16.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.3692, allocations: 32.06 kB / 460.8 MB, free: 16.2 MB / 366.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.0003705/0.3696, allocations: 261.4 kB / 461.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.3697, allocations: 87.62 kB / 461.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007312/0.3705, allocations: 375.2 kB / 461.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3705, allocations: 4.406 kB / 461.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3705, allocations: 4 kB / 461.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3705, allocations: 2.469 kB / 461.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.3723, allocations: 1.269 MB / 462.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3724, allocations: 2.438 kB / 462.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003121/0.3727, allocations: 73.11 kB / 462.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.226e-05/0.3728, allocations: 23.02 kB / 462.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.3728, allocations: 11.66 kB / 462.9 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006755/0.3735, allocations: 1.373 MB / 464.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3735, allocations: 9.438 kB / 464.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000971/0.3744, allocations: 0.6239 MB / 464.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.3747, allocations: 188.6 kB / 465.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/0.3748, allocations: 13.48 kB / 465.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003599/0.3751, allocations: 28.39 kB / 465.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.554e-05/0.3752, allocations: 32.27 kB / 465.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.3752, allocations: 8.531 kB / 465.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000781/0.376, allocations: 0.5592 MB / 465.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.376, allocations: 1 kB / 465.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008406/0.3768, allocations: 188.4 kB / 465.9 MB, free: 12.76 MB / 366.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.0002085/0.377, allocations: 128.4 kB / 466.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009977/0.378, allocations: 0.4969 MB / 466.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.378, allocations: 0.9375 kB / 466.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004043/0.3785, allocations: 264.2 kB / 466.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.3795, allocations: 216.6 kB / 467 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002784/0.3823, allocations: 1.751 MB / 468.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.3828, allocations: 0.9946 MB / 469.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.383, allocations: 61.17 kB / 469.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.383, allocations: 0 / 469.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of Templates: time 0.02391/0.4069, allocations: 15.91 MB / 485.8 MB, free: 3.168 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 9.2371405439917]