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.001044/0.001044, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 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.001176/0.001176, allocations: 161.2 kB / 25.32 MB, free: 9.211 MB / 18.57 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 0.9376/0.9376, allocations: 158.6 MB / 187.2 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.792e-05, allocations: 10.25 kB / 251.1 MB, free: 7.504 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009811/0.009838, allocations: 7.906 MB / 259 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00544/0.01528, allocations: 2.584 MB / 261.5 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.0165, allocations: 27.88 kB / 261.6 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.01789, allocations: 0.5207 MB / 262.1 MB, free: 12.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.01915, allocations: 0.5 MB / 262.6 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.01961, allocations: 243.7 kB / 262.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.02113, allocations: 1.489 MB / 264.3 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005511/0.02168, allocations: 379.2 kB / 264.7 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008955/0.02258, allocations: 0.8456 MB / 265.5 MB, free: 8.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004711/0.02305, allocations: 458.6 kB / 266 MB, free: 8.477 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.02317, allocations: 136 kB / 266.1 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.02346, allocations: 176 kB / 266.3 MB, free: 8.172 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.02362, allocations: 282.9 kB / 266.6 MB, free: 7.895 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003432/0.02396, allocations: 454.9 kB / 267 MB, free: 7.449 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.02503, allocations: 0.9106 MB / 267.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.02504, allocations: 0 / 267.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.02504, allocations: 0 / 267.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.02506, allocations: 4 kB / 267.9 MB, free: 6.531 MB / 250.7 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.001695/0.02675, allocations: 1.492 MB / 269.4 MB, free: 5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.0268, allocations: 11.98 kB / 269.4 MB, free: 4.988 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005298/0.02733, allocations: 256 kB / 269.7 MB, free: 4.738 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008501/0.02818, allocations: 0.6646 MB / 270.3 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.02822, allocations: 70 kB / 270.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.02833, allocations: 107.9 kB / 270.5 MB, free: 3.867 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.02941, allocations: 0.7832 MB / 271.3 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.02944, allocations: 4 kB / 271.3 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.02949, allocations: 40 kB / 271.3 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.02951, allocations: 24 kB / 271.4 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000514/0.03002, allocations: 351.6 kB / 271.7 MB, free: 2.617 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003402/0.03342, allocations: 3.631 MB / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.03375, allocations: 203.1 kB / 275.5 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001119/0.03386, allocations: 80.19 kB / 275.6 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.03389, allocations: 7.984 kB / 275.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.03392, allocations: 45.38 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/0.03392, allocations: 0 / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.003498/0.03742, allocations: 0.8295 MB / 276.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.03748, allocations: 85.05 kB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.03855, allocations: 0.7413 MB / 277.3 MB, free: 12.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.03858, allocations: 33.7 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004911/0.03908, allocations: 0.6502 MB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.03919, allocations: 134.9 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.03939, allocations: 140.2 kB / 278.3 MB, free: 11.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002449/0.03963, allocations: 0.5664 MB / 278.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.03984, allocations: 69.95 kB / 278.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.04031, allocations: 0.5262 MB / 279.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006979/0.04101, allocations: 0.6333 MB / 280.1 MB, free: 9.504 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.04101, allocations: 4 kB / 280.1 MB, free: 9.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00095/0.04196, allocations: 0.5702 MB / 280.6 MB, free: 8.918 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.04199, allocations: 8.969 kB / 280.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.042, allocations: 12 kB / 280.7 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.04217, allocations: 39.61 kB / 280.7 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.04247, allocations: 151.8 kB / 280.9 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009675/0.04344, allocations: 1.74 MB / 282.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.04374, allocations: 44 kB / 282.6 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.04377, allocations: 32 kB / 282.7 MB, free: 6.766 MB / 266.7 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.0002191/0.04399, allocations: 204.3 kB / 282.9 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.04408, allocations: 87.58 kB / 282.9 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/0.04442, allocations: 280.1 kB / 283.2 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.04442, allocations: 7.938 kB / 283.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.04443, allocations: 0 / 283.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.04443, allocations: 3.984 kB / 283.2 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.04559, allocations: 1.037 MB / 284.3 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.04559, allocations: 7.938 kB / 284.3 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.04577, allocations: 63.91 kB / 284.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.342e-05/0.04586, allocations: 23.69 kB / 284.4 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.04588, allocations: 11.98 kB / 284.4 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007727/0.04665, allocations: 1.728 MB / 286.1 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.04665, allocations: 4 kB / 286.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.04714, allocations: 0.5499 MB / 286.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.0473, allocations: 107.4 kB / 286.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.04734, allocations: 8.125 kB / 286.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.04751, allocations: 23.98 kB / 286.8 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.248e-05/0.04757, allocations: 35.83 kB / 286.8 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.04759, allocations: 12 kB / 286.8 MB, free: 2.309 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000414/0.048, allocations: 470.9 kB / 287.3 MB, free: 1.852 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.048, allocations: 0 / 287.3 MB, free: 1.852 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005363/0.04854, allocations: 191.9 kB / 287.5 MB, free: 1.664 MB / 266.7 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.000205/0.04874, allocations: 119.1 kB / 287.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005968/0.04934, allocations: 467.5 kB / 288.1 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.04934, allocations: 0 / 288.1 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.04956, allocations: 277.3 kB / 288.3 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.05018, allocations: 204.5 kB / 288.5 MB, free: 0.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.05253, allocations: 1.589 MB / 290.1 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.05266, allocations: 162.6 kB / 290.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002404/0.0529, allocations: 90.3 kB / 290.4 MB, free: 14.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.295e-05/0.05298, allocations: 52.5 kB / 290.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of SimCode: time 2.525e-06/0.05298, allocations: 0 / 290.4 MB, free: 14.6 MB / 282.7 MB Notification: Performance of Templates: time 0.01351/0.06649, allocations: 8.997 MB / 299.4 MB, free: 5.641 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.185691351071]