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.001698/0.001698, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.00207/0.00207, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.444/1.444, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001701/0.001701, allocations: 55.92 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2312, allocations: 52.18 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01015/0.2414, allocations: 8.295 MB / 432.2 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004697/0.2461, allocations: 2.696 MB / 434.9 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008484/0.2469, allocations: 31.88 kB / 434.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.2485, allocations: 0.5792 MB / 435.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.2498, allocations: 0.508 MB / 436 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.2503, allocations: 267.6 kB / 436.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001805/0.2521, allocations: 1.502 MB / 437.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006615/0.2528, allocations: 395.3 kB / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000841/0.2537, allocations: 0.5838 MB / 438.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008195/0.2545, allocations: 0.6106 MB / 439.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002024/0.2547, allocations: 140 kB / 439.5 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.255, allocations: 172 kB / 439.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.2553, allocations: 298.9 kB / 439.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006589/0.2559, allocations: 0.6687 MB / 440.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.258, allocations: 1.764 MB / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.258, allocations: 0 / 442.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.258, allocations: 3.938 kB / 442.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.258, allocations: 0 / 442.4 MB, free: 12.1 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.002582/0.2606, allocations: 1.434 MB / 443.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2607, allocations: 12.02 kB / 443.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006845/0.2613, allocations: 196 kB / 444 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.2627, allocations: 0.693 MB / 444.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.2628, allocations: 74 kB / 444.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.2629, allocations: 96 kB / 444.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.2646, allocations: 0.9503 MB / 445.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/0.2646, allocations: 3.953 kB / 445.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/0.2647, allocations: 43.98 kB / 445.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.2647, allocations: 28 kB / 445.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.2661, allocations: 0.6442 MB / 446.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005634/0.2717, allocations: 3.821 MB / 450.4 MB, free: 3.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007105/0.2725, allocations: 343.7 kB / 450.7 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006148/0.2731, allocations: 260.6 kB / 451 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.2731, allocations: 7.938 kB / 451 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.2731, allocations: 42.56 kB / 451 MB, free: 3.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.685e-06/0.2731, allocations: 0 / 451 MB, free: 3.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.003097/0.2762, allocations: 1.338 MB / 452.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.2763, allocations: 85.11 kB / 452.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.2775, allocations: 0.8372 MB / 453.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.2775, allocations: 37.64 kB / 453.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.278, allocations: 0.5775 MB / 453.9 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.2781, allocations: 174.5 kB / 454 MB, free: 28 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.2783, allocations: 130.6 kB / 454.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2785, allocations: 337.9 kB / 454.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.2789, allocations: 177.9 kB / 454.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.2795, allocations: 467.6 kB / 455.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.2805, allocations: 0.6836 MB / 455.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2805, allocations: 0 / 455.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001552/0.2821, allocations: 0.7948 MB / 456.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.2821, allocations: 15.44 kB / 456.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.2821, allocations: 8 kB / 456.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002793/0.2824, allocations: 81.88 kB / 456.7 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.2829, allocations: 163.7 kB / 456.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.2856, allocations: 2.936 MB / 459.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/0.2863, allocations: 40 kB / 459.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.808e-05/0.2864, allocations: 36 kB / 459.9 MB, free: 9.66 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.0004419/0.2868, allocations: 267.1 kB / 460.1 MB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.287, allocations: 91.44 kB / 460.2 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.288, allocations: 0.4991 MB / 460.7 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.288, allocations: 8.078 kB / 460.7 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.288, allocations: 0 / 460.7 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.288, allocations: 3.984 kB / 460.7 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.2904, allocations: 1.438 MB / 462.2 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.2904, allocations: 4 kB / 462.2 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.2907, allocations: 75.89 kB / 462.3 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002204/0.2909, allocations: 69.86 kB / 462.3 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.291, allocations: 16 kB / 462.3 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/0.2935, allocations: 2.923 MB / 465.3 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.2935, allocations: 8.094 kB / 465.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.295, allocations: 0.8035 MB / 466.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.2953, allocations: 123.4 kB / 466.2 MB, free: 2.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.2954, allocations: 19.92 kB / 466.2 MB, free: 2.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/0.2958, allocations: 23.98 kB / 466.2 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.2959, allocations: 43.88 kB / 466.3 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.2959, allocations: 12 kB / 466.3 MB, free: 2.859 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008363/0.2967, allocations: 0.5771 MB / 466.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2967, allocations: 0 / 466.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008511/0.2976, allocations: 211.9 kB / 467.1 MB, free: 2.082 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.0002123/0.2978, allocations: 130.7 kB / 467.2 MB, free: 1.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.2991, allocations: 0.6885 MB / 467.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2991, allocations: 2 kB / 467.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.2998, allocations: 453.2 kB / 468.3 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3008, allocations: 221.4 kB / 468.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.3039, allocations: 1.8 MB / 470.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.3046, allocations: 1.009 MB / 471.4 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.3048, allocations: 59.44 kB / 471.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3048, allocations: 0 / 471.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of Templates: time 0.02725/0.332, allocations: 21.47 MB / 492.9 MB, free: 8.168 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: 9.172178691020235]