Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001742/0.001742, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0021/0.0021, allocations: 220 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2685, allocations: 53.32 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.0114/0.2799, allocations: 8.327 MB / 438.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005919/0.2858, allocations: 2.747 MB / 440.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.2868, allocations: 31.88 kB / 440.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.2884, allocations: 0.5793 MB / 441.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.2898, allocations: 0.5002 MB / 442 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.2904, allocations: 279.6 kB / 442.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001689/0.2921, allocations: 1.506 MB / 443.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006729/0.2928, allocations: 394.9 kB / 444.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000819/0.2936, allocations: 0.5759 MB / 444.7 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006843/0.2943, allocations: 0.6144 MB / 445.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.2945, allocations: 144 kB / 445.5 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003629/0.2948, allocations: 184 kB / 445.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.2951, allocations: 283 kB / 445.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.2958, allocations: 0.6804 MB / 446.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.2979, allocations: 1.764 MB / 448.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2979, allocations: 4 kB / 448.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2979, allocations: 0 / 448.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.076e-05/0.2979, allocations: 0 / 448.4 MB, free: 4.848 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.002676/0.3006, allocations: 1.518 MB / 449.9 MB, free: 3.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3007, allocations: 8.031 kB / 449.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007899/0.3015, allocations: 215.9 kB / 450.1 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.3028, allocations: 0.7587 MB / 450.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.035e-05/0.3028, allocations: 77.94 kB / 451 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.303, allocations: 103.9 kB / 451.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.3046, allocations: 0.9464 MB / 452 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.3047, allocations: 0 / 452 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-05/0.3048, allocations: 40 kB / 452 MB, free: 1.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.3048, allocations: 24 kB / 452.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.3061, allocations: 0.652 MB / 452.7 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005656/0.3117, allocations: 3.927 MB / 456.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/0.3125, allocations: 435.2 kB / 457.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/0.3131, allocations: 256.6 kB / 457.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.3131, allocations: 8 kB / 457.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.3131, allocations: 38.56 kB / 457.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.274e-06/0.3131, allocations: 0 / 457.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003301/0.3164, allocations: 1.572 MB / 458.9 MB, free: 9.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.3165, allocations: 81.11 kB / 459 MB, free: 9.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.3177, allocations: 0.8372 MB / 459.9 MB, free: 8.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.3177, allocations: 37.7 kB / 459.9 MB, free: 8.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004614/0.3182, allocations: 0.5814 MB / 460.5 MB, free: 8.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.3183, allocations: 170.5 kB / 460.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.3185, allocations: 130.6 kB / 460.8 MB, free: 7.941 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3187, allocations: 330 kB / 461.1 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.319, allocations: 181.9 kB / 461.3 MB, free: 7.438 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.3196, allocations: 467.6 kB / 461.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.3207, allocations: 0.6798 MB / 462.4 MB, free: 6.035 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3207, allocations: 11.94 kB / 462.4 MB, free: 6.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001422/0.3221, allocations: 0.787 MB / 463.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3221, allocations: 11.98 kB / 463.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.3221, allocations: 8 kB / 463.2 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/0.3224, allocations: 89.97 kB / 463.3 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.3229, allocations: 159.7 kB / 463.5 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002774/0.3257, allocations: 3.138 MB / 466.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.3263, allocations: 39.94 kB / 466.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.907e-05/0.3264, allocations: 40.05 kB / 466.7 MB, free: 1.453 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.0004215/0.3268, allocations: 265.5 kB / 466.9 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.3269, allocations: 87.44 kB / 467 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.328, allocations: 0.4995 MB / 467.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.328, allocations: 4 kB / 467.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.328, allocations: 0 / 467.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.328, allocations: 3.984 kB / 467.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.3304, allocations: 1.47 MB / 469 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.3304, allocations: 4 kB / 469 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.3307, allocations: 79.83 kB / 469.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.331, allocations: 69.67 kB / 469.2 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.331, allocations: 16.12 kB / 469.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002818/0.3338, allocations: 3.123 MB / 472.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3338, allocations: 0 / 472.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.3353, allocations: 0.8099 MB / 473.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/0.3357, allocations: 212.5 kB / 473.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.3358, allocations: 11.94 kB / 473.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004423/0.3362, allocations: 31.97 kB / 473.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.3363, allocations: 35.7 kB / 473.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.3364, allocations: 16 kB / 473.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009009/0.3373, allocations: 0.5693 MB / 474 MB, free: 9.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3373, allocations: 0 / 474 MB, free: 9.707 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008692/0.3381, allocations: 215.9 kB / 474.2 MB, free: 9.496 MB / 382.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.0002362/0.3384, allocations: 127.1 kB / 474.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.3397, allocations: 0.673 MB / 475 MB, free: 8.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3397, allocations: 5.812 kB / 475 MB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007216/0.3404, allocations: 442.5 kB / 475.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3414, allocations: 234.6 kB / 475.6 MB, free: 7.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.3447, allocations: 1.791 MB / 477.4 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000773/0.3455, allocations: 1.013 MB / 478.4 MB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003824/0.3459, allocations: 103.3 kB / 478.5 MB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.346, allocations: 59.42 kB / 478.6 MB, free: 4.93 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.346, allocations: 0 / 478.6 MB, free: 4.93 MB / 382.1 MB Notification: Performance of Templates: time 0.0227/0.3687, allocations: 11.18 MB / 489.8 MB, free: 9.867 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.152214877307415]