Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 104 kB / 21.18 MB, free: 0.6719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 194.4 kB / 24.46 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 47.92 kB / 371.6 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2477, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01037/0.2581, allocations: 7.264 MB / 431.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005345/0.2634, allocations: 2.505 MB / 433.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.2647, allocations: 27.88 kB / 433.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001776/0.2665, allocations: 0.5238 MB / 434.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.2681, allocations: 0.508 MB / 434.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006279/0.2687, allocations: 263.7 kB / 434.9 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.2706, allocations: 1.506 MB / 436.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006611/0.2713, allocations: 375.3 kB / 436.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008474/0.2722, allocations: 0.5797 MB / 437.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007293/0.2729, allocations: 0.5246 MB / 437.9 MB, free: 356 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.2731, allocations: 140 kB / 438 MB, free: 216 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003538/0.2734, allocations: 180 kB / 438.2 MB, free: 36 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.2737, allocations: 286.9 kB / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000568/0.2742, allocations: 0.5483 MB / 439 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.2763, allocations: 1.77 MB / 440.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2763, allocations: 0 / 440.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2763, allocations: 0 / 440.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.28e-05/0.2763, allocations: 0 / 440.8 MB, free: 13.43 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002654/0.279, allocations: 1.441 MB / 442.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.279, allocations: 8.031 kB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006785/0.2797, allocations: 196 kB / 442.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.2811, allocations: 0.6969 MB / 443.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.299e-05/0.2812, allocations: 74 kB / 443.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.2813, allocations: 100 kB / 443.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.2831, allocations: 1.047 MB / 444.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.2831, allocations: 11.89 kB / 444.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.505e-05/0.2832, allocations: 43.98 kB / 444.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.2833, allocations: 24 kB / 444.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.2846, allocations: 0.648 MB / 445.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005473/0.2901, allocations: 3.381 MB / 448.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000715/0.2908, allocations: 343.7 kB / 448.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006397/0.2914, allocations: 260.6 kB / 449.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.2914, allocations: 8 kB / 449.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.2915, allocations: 42.5 kB / 449.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.555e-06/0.2915, allocations: 0 / 449.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.003103/0.2946, allocations: 1.331 MB / 450.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/0.2947, allocations: 85.09 kB / 450.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.2959, allocations: 0.7818 MB / 451.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.296, allocations: 33.7 kB / 451.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.2964, allocations: 0.5892 MB / 451.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.2966, allocations: 170.6 kB / 452.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.2968, allocations: 126.6 kB / 452.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.297, allocations: 390.8 kB / 452.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.2974, allocations: 173.8 kB / 452.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006498/0.298, allocations: 493.3 kB / 453.2 MB, free: 424 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.2991, allocations: 0.6836 MB / 453.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.2991, allocations: 4 kB / 453.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001511/0.3006, allocations: 0.7828 MB / 454.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3006, allocations: 12.53 kB / 454.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.3007, allocations: 12 kB / 454.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.3009, allocations: 81.62 kB / 454.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.3014, allocations: 155.7 kB / 455 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.3042, allocations: 2.886 MB / 457.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/0.3049, allocations: 43.81 kB / 457.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.3049, allocations: 36.16 kB / 457.9 MB, free: 11.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (85): * 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: 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,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004295/0.3054, allocations: 261.5 kB / 458.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.3055, allocations: 83.48 kB / 458.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.3066, allocations: 0.4947 MB / 458.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.3066, allocations: 11.92 kB / 458.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3066, allocations: 4 kB / 458.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3066, allocations: 0 / 458.8 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.3087, allocations: 1.232 MB / 460 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3088, allocations: 0 / 460 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.3091, allocations: 75.89 kB / 460.1 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002058/0.3093, allocations: 73.89 kB / 460.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.3094, allocations: 12 kB / 460.2 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002785/0.3122, allocations: 2.862 MB / 463 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3122, allocations: 7.969 kB / 463 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.3136, allocations: 0.8112 MB / 463.9 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.3139, allocations: 115.5 kB / 464 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.914e-05/0.314, allocations: 8 kB / 464 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.3144, allocations: 31.97 kB / 464 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/0.3145, allocations: 39.81 kB / 464 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.3145, allocations: 16 kB / 464.1 MB, free: 4.891 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007887/0.3153, allocations: 0.5147 MB / 464.6 MB, free: 4.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3153, allocations: 4 kB / 464.6 MB, free: 4.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009622/0.3163, allocations: 208 kB / 464.8 MB, free: 4.176 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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,5,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.0002392/0.3165, allocations: 123.1 kB / 464.9 MB, free: 4.047 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.3179, allocations: 0.6901 MB / 465.6 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3179, allocations: 384 / 465.6 MB, free: 3.332 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007021/0.3186, allocations: 444.8 kB / 466 MB, free: 2.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009968/0.3196, allocations: 207.3 kB / 466.2 MB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.3229, allocations: 1.774 MB / 468 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.3234, allocations: 426.4 kB / 468.4 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.3236, allocations: 67.38 kB / 468.5 MB, free: 332 kB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3236, allocations: 0 / 468.5 MB, free: 332 kB / 366.1 MB Notification: Performance of Templates: time 0.03077/0.3544, allocations: 21.43 MB / 489.9 MB, free: 10.92 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.970587284769863]