Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.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.001871/0.001871, allocations: 85.05 kB / 21.43 MB, free: 288 kB / 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.002231/0.002231, allocations: 168.2 kB / 24.71 MB, free: 3.539 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.329/1.329, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.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.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 299 MB, free: 8.82 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.306e-05, allocations: 6.281 kB / 299 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.009858/0.009891, allocations: 7.223 MB / 306.2 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005133/0.01502, allocations: 2.549 MB / 308.7 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006312/0.01565, allocations: 27.88 kB / 308.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.01702, allocations: 0.5206 MB / 309.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.0181, allocations: 0.531 MB / 309.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.01861, allocations: 263.6 kB / 310.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001787/0.02039, allocations: 1.567 MB / 311.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006677/0.02106, allocations: 379.2 kB / 312 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.02227, allocations: 0.8729 MB / 312.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006314/0.0229, allocations: 446.6 kB / 313.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001808/0.02308, allocations: 140 kB / 313.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.02342, allocations: 184 kB / 313.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.02366, allocations: 290.8 kB / 313.9 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005345/0.0242, allocations: 474.8 kB / 314.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.02614, allocations: 1.752 MB / 316.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.02614, allocations: 0 / 316.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02615, allocations: 0 / 316.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.02616, allocations: 0 / 316.1 MB, free: 7.543 MB / 302.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.002561/0.02872, allocations: 1.427 MB / 317.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.02876, allocations: 15.98 kB / 317.6 MB, free: 6.062 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006902/0.02945, allocations: 203.9 kB / 317.8 MB, free: 5.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.03073, allocations: 0.6892 MB / 318.5 MB, free: 5.145 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.03079, allocations: 74 kB / 318.5 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.03096, allocations: 103.9 kB / 318.6 MB, free: 4.973 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/0.03274, allocations: 1.047 MB / 319.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.03277, allocations: 0 / 319.7 MB, free: 3.871 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.88e-05/0.03286, allocations: 40 kB / 319.7 MB, free: 3.832 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.03289, allocations: 24 kB / 319.7 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.03427, allocations: 0.6559 MB / 320.4 MB, free: 3.152 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1452/0.1795, allocations: 3.366 MB / 323.8 MB, free: 33.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.1802, allocations: 344.6 kB / 324.1 MB, free: 33.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005881/0.1808, allocations: 263.1 kB / 324.4 MB, free: 33.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.173e-05/0.1808, allocations: 5.5 kB / 324.4 MB, free: 33.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.1808, allocations: 38.66 kB / 324.4 MB, free: 33.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=41): time 2.956e-06/0.1808, allocations: 2.531 kB / 324.4 MB, free: 33.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=45): time 0.002745/0.1836, allocations: 1.325 MB / 325.7 MB, free: 32.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.1836, allocations: 85.8 kB / 325.8 MB, free: 32.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009284/0.1845, allocations: 0.7752 MB / 326.6 MB, free: 32.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1845, allocations: 31.95 kB / 326.6 MB, free: 32.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002954/0.1848, allocations: 0.5961 MB / 327.2 MB, free: 31.85 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.884e-05/0.1849, allocations: 170.3 kB / 327.4 MB, free: 31.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.1851, allocations: 130.4 kB / 327.5 MB, free: 31.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1852, allocations: 389.4 kB / 327.9 MB, free: 31.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.1855, allocations: 171.6 kB / 328.1 MB, free: 31.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004239/0.186, allocations: 498.3 kB / 328.5 MB, free: 30.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007967/0.1868, allocations: 0.6767 MB / 329.2 MB, free: 30.26 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1868, allocations: 2.75 kB / 329.2 MB, free: 30.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001249/0.188, allocations: 0.785 MB / 330 MB, free: 29.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.188, allocations: 14.88 kB / 330 MB, free: 29.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.188, allocations: 9.625 kB / 330 MB, free: 29.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/0.1883, allocations: 85.11 kB / 330.1 MB, free: 29.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.1888, allocations: 155.2 kB / 330.3 MB, free: 29.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.1906, allocations: 2.882 MB / 333.1 MB, free: 27.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/0.1911, allocations: 34.98 kB / 333.2 MB, free: 27.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.1911, allocations: 36.59 kB / 333.2 MB, free: 27.09 MB / 302.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.0003212/0.1915, allocations: 264.4 kB / 333.5 MB, free: 26.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.1916, allocations: 90.41 kB / 333.6 MB, free: 26.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009036/0.1925, allocations: 0.4896 MB / 334.1 MB, free: 26.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1925, allocations: 8.344 kB / 334.1 MB, free: 26.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1925, allocations: 5.062 kB / 334.1 MB, free: 26.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1925, allocations: 3.141 kB / 334.1 MB, free: 26.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.1943, allocations: 1.218 MB / 335.3 MB, free: 25.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1943, allocations: 3.062 kB / 335.3 MB, free: 25.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.1947, allocations: 75.3 kB / 335.4 MB, free: 25.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.1949, allocations: 72.69 kB / 335.4 MB, free: 25.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.1949, allocations: 14.27 kB / 335.5 MB, free: 25.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.1964, allocations: 2.864 MB / 338.3 MB, free: 23.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1964, allocations: 7.344 kB / 338.3 MB, free: 23.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.1976, allocations: 0.7863 MB / 339.1 MB, free: 22.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002222/0.1979, allocations: 125.4 kB / 339.2 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.473e-05/0.1979, allocations: 8.766 kB / 339.2 MB, free: 22.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.1984, allocations: 31.11 kB / 339.3 MB, free: 22.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.1985, allocations: 36.39 kB / 339.3 MB, free: 22.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.695e-05/0.1985, allocations: 16.39 kB / 339.3 MB, free: 22.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006377/0.1991, allocations: 0.5204 MB / 339.8 MB, free: 22.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1991, allocations: 1 kB / 339.8 MB, free: 22.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008468/0.2, allocations: 204 kB / 340 MB, free: 22.31 MB / 302.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.000191/0.2002, allocations: 126.7 kB / 340.2 MB, free: 22.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.2013, allocations: 0.6844 MB / 340.8 MB, free: 21.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2013, allocations: 1.125 kB / 340.9 MB, free: 21.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005778/0.2019, allocations: 444.8 kB / 341.3 MB, free: 21.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009554/0.2028, allocations: 209.1 kB / 341.5 MB, free: 21.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.2053, allocations: 1.67 MB / 343.2 MB, free: 20.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004849/0.2058, allocations: 431.6 kB / 343.6 MB, free: 20.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003484/0.2061, allocations: 100.2 kB / 343.7 MB, free: 20.33 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.2062, allocations: 61.53 kB / 343.7 MB, free: 20.32 MB / 302.1 MB Notification: Performance of SimCode: time 6.12e-07/0.2062, allocations: 0 / 343.7 MB, free: 20.32 MB / 302.1 MB Notification: Performance of Templates: time 0.01594/0.2222, allocations: 10.22 MB / 354 MB, free: 12.89 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.726262919604778]