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.001701/0.001701, allocations: 101.2 kB / 21.93 MB, free: 5.199 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.001978/0.001978, allocations: 202.2 kB / 25.22 MB, free: 3.141 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.486/1.486, allocations: 207.7 MB / 236.1 MB, free: 9.777 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.002052/0.002052, allocations: 63.92 kB / 348.5 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.292, allocations: 49.16 MB / 397.6 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.008138/0.3001, allocations: 7.014 MB / 404.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004316/0.3044, allocations: 2.446 MB / 407.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.3055, allocations: 31.5 kB / 407.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.307, allocations: 0.526 MB / 407.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.3083, allocations: 483.2 kB / 408.1 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.3088, allocations: 245.2 kB / 408.3 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001539/0.3103, allocations: 1.432 MB / 409.8 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005635/0.3109, allocations: 372.3 kB / 410.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007256/0.3116, allocations: 0.5582 MB / 410.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000584/0.3122, allocations: 0.4984 MB / 411.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.3124, allocations: 139 kB / 411.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.3127, allocations: 172 kB / 411.5 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.3129, allocations: 275.4 kB / 411.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005201/0.3134, allocations: 0.5242 MB / 412.3 MB, free: 232 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.3154, allocations: 1.716 MB / 414 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3154, allocations: 0 / 414 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3154, allocations: 0.875 kB / 414 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.499e-05/0.3155, allocations: 0 / 414 MB, free: 15 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.002739/0.3182, allocations: 1.393 MB / 415.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3182, allocations: 16.48 kB / 415.4 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006228/0.3189, allocations: 181 kB / 415.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.3203, allocations: 0.6523 MB / 416.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.3203, allocations: 76.28 kB / 416.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.3205, allocations: 99.67 kB / 416.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.3222, allocations: 0.9924 MB / 417.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.3222, allocations: 9.109 kB / 417.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.702e-05/0.3223, allocations: 41.03 kB / 417.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.3223, allocations: 24.41 kB / 417.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.3236, allocations: 0.6162 MB / 418.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005493/0.3291, allocations: 3.349 MB / 421.4 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/0.3297, allocations: 257.7 kB / 421.7 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.33, allocations: 138.1 kB / 421.8 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.33, allocations: 6.703 kB / 421.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3301, allocations: 41.27 kB / 421.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.3301, allocations: 1.156 kB / 421.9 MB, free: 9.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.002573/0.3326, allocations: 1.045 MB / 422.9 MB, free: 8.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.3327, allocations: 89.62 kB / 423 MB, free: 8.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.3339, allocations: 0.7471 MB / 423.8 MB, free: 7.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.3339, allocations: 31.02 kB / 423.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005106/0.3344, allocations: 0.5908 MB / 424.4 MB, free: 7.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.3345, allocations: 139.8 kB / 424.5 MB, free: 7.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.3347, allocations: 126.2 kB / 424.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.335, allocations: 383.5 kB / 425 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003329/0.3353, allocations: 143.9 kB / 425.2 MB, free: 6.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.336, allocations: 497.2 kB / 425.6 MB, free: 6.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.337, allocations: 0.6243 MB / 426.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.337, allocations: 7.25 kB / 426.3 MB, free: 5.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001489/0.3385, allocations: 0.6876 MB / 427 MB, free: 5.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.3385, allocations: 11.91 kB / 427 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.3385, allocations: 12 kB / 427 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.3387, allocations: 32.86 kB / 427 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.3392, allocations: 155.7 kB / 427.2 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/0.3404, allocations: 1.272 MB / 428.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.3411, allocations: 39.94 kB / 428.5 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/0.3411, allocations: 32 kB / 428.5 MB, free: 3.375 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.000437/0.3416, allocations: 257.8 kB / 428.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.3417, allocations: 79.53 kB / 428.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007913/0.3425, allocations: 373.4 kB / 429.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3425, allocations: 4 kB / 429.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3425, allocations: 3.938 kB / 429.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3425, allocations: 0 / 429.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001926/0.3444, allocations: 1.04 MB / 430.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3444, allocations: 0 / 430.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.3448, allocations: 71.89 kB / 430.3 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.639e-05/0.3449, allocations: 24.84 kB / 430.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.3449, allocations: 8 kB / 430.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.346, allocations: 1.252 MB / 431.6 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.346, allocations: 3.938 kB / 431.6 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3472, allocations: 0.629 MB / 432.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003266/0.3475, allocations: 99.53 kB / 432.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.884e-05/0.3476, allocations: 11.98 kB / 432.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.348, allocations: 32.08 kB / 432.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.3481, allocations: 31.83 kB / 432.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.3481, allocations: 12 kB / 432.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007683/0.3488, allocations: 0.499 MB / 432.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3488, allocations: 0 / 432.9 MB, free: 14.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008243/0.3497, allocations: 191.9 kB / 433.1 MB, free: 14.55 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.0002053/0.3499, allocations: 119.2 kB / 433.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001044/0.3509, allocations: 499 kB / 433.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3509, allocations: 4 kB / 433.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.3514, allocations: 260.6 kB / 434 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009865/0.3523, allocations: 191 kB / 434.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.3555, allocations: 1.754 MB / 435.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.3559, allocations: 404.7 kB / 436.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.3561, allocations: 59.44 kB / 436.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of SimCode: time 1.272e-06/0.3561, allocations: 0 / 436.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of Templates: time 0.02431/0.3804, allocations: 15.82 MB / 452.2 MB, free: 11.32 MB / 366.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/jenkins1/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/jenkins1/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: 8.627899574115872]