Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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.001343/0.001343, allocations: 83.88 kB / 22 MB, free: 5.18 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.001458/0.001458, allocations: 161.8 kB / 25.25 MB, free: 3.023 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.333/1.333, allocations: 158.6 MB / 187 MB, free: 6.238 MB / 174.1 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.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") [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.001844/0.001844, allocations: 51.92 kB / 299.4 MB, free: 6.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2009, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary): time 0.01354/0.2145, allocations: 10.16 MB / 358.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006104/0.2206, allocations: 3.059 MB / 361.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009846/0.2215, allocations: 39.88 kB / 361.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.2231, allocations: 0.6246 MB / 362.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.2248, allocations: 0.7251 MB / 363.1 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007852/0.2255, allocations: 399.5 kB / 363.5 MB, free: 476 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002563/0.2281, allocations: 2.246 MB / 365.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.2291, allocations: 0.6142 MB / 366.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.2303, allocations: 0.8639 MB / 367.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.2314, allocations: 0.7966 MB / 368 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.2317, allocations: 216 kB / 368.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00048/0.2322, allocations: 256 kB / 368.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003771/0.2326, allocations: 426.5 kB / 368.9 MB, free: 11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009353/0.2335, allocations: 0.8244 MB / 369.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002898/0.2364, allocations: 2.701 MB / 372.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2364, allocations: 0 / 372.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2364, allocations: 0 / 372.4 MB, free: 7.461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.338e-05/0.2364, allocations: 3.938 kB / 372.4 MB, free: 7.457 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003599/0.24, allocations: 2.041 MB / 374.5 MB, free: 5.367 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2401, allocations: 8.031 kB / 374.5 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008112/0.2409, allocations: 263.6 kB / 374.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.2426, allocations: 0.9726 MB / 375.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.2427, allocations: 119.5 kB / 375.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.243, allocations: 163.9 kB / 376 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002618/0.2456, allocations: 1.584 MB / 377.6 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.098e-05/0.2456, allocations: 7.953 kB / 377.6 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001304/0.2458, allocations: 71.88 kB / 377.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/0.2458, allocations: 36 kB / 377.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.2477, allocations: 0.9707 MB / 378.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007756/0.2555, allocations: 5.713 MB / 384.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.2563, allocations: 368.9 kB / 384.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004538/0.2568, allocations: 210.3 kB / 384.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.2568, allocations: 4.5 kB / 384.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005544/0.2574, allocations: 321.2 kB / 385.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/0.2574, allocations: 0 / 385.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.003248/0.2606, allocations: 1.54 MB / 386.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.2607, allocations: 158.7 kB / 387 MB, free: 8.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.2623, allocations: 1.122 MB / 388.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.178e-05/0.2623, allocations: 37.7 kB / 388.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007731/0.2631, allocations: 0.8967 MB / 389 MB, free: 6.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.2633, allocations: 218.2 kB / 389.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002992/0.2636, allocations: 218.8 kB / 389.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2638, allocations: 357.8 kB / 389.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.2643, allocations: 264.2 kB / 390 MB, free: 5.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.2653, allocations: 0.9288 MB / 391 MB, free: 3.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.2669, allocations: 1.125 MB / 392.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.2669, allocations: 4 kB / 392.1 MB, free: 2.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.002098/0.269, allocations: 1.185 MB / 393.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.629e-05/0.2691, allocations: 41.7 kB / 393.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.2691, allocations: 20.72 kB / 393.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002267/0.2693, allocations: 69.69 kB / 393.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008253/0.2701, allocations: 267.5 kB / 393.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.2724, allocations: 2.516 MB / 396.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008593/0.2732, allocations: 71.81 kB / 396.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/0.2733, allocations: 64 kB / 396.3 MB, free: 14.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005749/0.2739, allocations: 357.4 kB / 396.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.274, allocations: 119.2 kB / 396.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.2752, allocations: 0.534 MB / 397.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.2752, allocations: 4 kB / 397.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2752, allocations: 8 kB / 397.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.2752, allocations: 8.016 kB / 397.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.2779, allocations: 1.552 MB / 398.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.2779, allocations: 3.984 kB / 398.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.2783, allocations: 104.4 kB / 399 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/0.2785, allocations: 45.69 kB / 399.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.2785, allocations: 16 kB / 399.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.2805, allocations: 2.489 MB / 401.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.2805, allocations: 7.938 kB / 401.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.282, allocations: 0.9065 MB / 402.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.2824, allocations: 167.3 kB / 402.6 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.2825, allocations: 16 kB / 402.7 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000498/0.283, allocations: 31.97 kB / 402.7 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.2831, allocations: 59.58 kB / 402.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.2831, allocations: 24.11 kB / 402.8 MB, free: 7.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001046/0.2842, allocations: 0.7122 MB / 403.5 MB, free: 6.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2842, allocations: 0 / 403.5 MB, free: 6.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001123/0.2853, allocations: 303.9 kB / 403.8 MB, free: 6.215 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadInertia1.phi,dcpm2.inertiaRotor.w,loadInertia2.phi) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.0002248/0.2855, allocations: 139 kB / 403.9 MB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.2871, allocations: 0.9136 MB / 404.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2871, allocations: 7.938 kB / 404.8 MB, free: 5.105 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007272/0.2879, allocations: 463.4 kB / 405.3 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.2893, allocations: 304.2 kB / 405.6 MB, free: 4.332 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.2935, allocations: 2.544 MB / 408.1 MB, free: 1.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/0.2942, allocations: 0.5922 MB / 408.7 MB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004762/0.2946, allocations: 154.1 kB / 408.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.2948, allocations: 80.5 kB / 408.9 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2948, allocations: 4 kB / 408.9 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of Templates: time 0.02796/0.3228, allocations: 14.4 MB / 423.3 MB, free: 2.398 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_QuasiStationary/DCPM_QuasiStationary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary.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: 4.882345760939643]