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.0008732/0.0008732, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.004433/0.004433, allocations: 146.5 kB / 24.68 MB, free: 9.426 MB / 18.57 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 0.8484/0.8484, allocations: 173.4 MB / 201.2 MB, free: 9.449 MB / 186.7 MB " [Timeout remaining time 179] 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 1.503e-06/1.503e-06, allocations: 0 / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.359e-05, allocations: 2.281 kB / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.00561/0.005634, allocations: 7.265 MB / 327 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.008966, allocations: 2.517 MB / 329.5 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005011/0.009467, allocations: 27.88 kB / 329.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009637/0.01043, allocations: 0.5401 MB / 330 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008587/0.01129, allocations: 0.5194 MB / 330.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.01162, allocations: 263.6 kB / 330.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009397/0.01256, allocations: 1.57 MB / 332.4 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.01297, allocations: 371.3 kB / 332.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006717/0.01364, allocations: 0.869 MB / 333.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.01401, allocations: 454.5 kB / 334.1 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.837e-05/0.01411, allocations: 140 kB / 334.2 MB, free: 7.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.01432, allocations: 175.9 kB / 334.4 MB, free: 7.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.01444, allocations: 294.8 kB / 334.7 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.01471, allocations: 466.9 kB / 335.1 MB, free: 6.344 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.01588, allocations: 1.76 MB / 336.9 MB, free: 4.578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01589, allocations: 0 / 336.9 MB, free: 4.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01589, allocations: 4 kB / 336.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.0159, allocations: 0 / 336.9 MB, free: 4.574 MB / 298.7 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.001582/0.01748, allocations: 1.426 MB / 338.3 MB, free: 3.113 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.01752, allocations: 8.031 kB / 338.3 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003583/0.01788, allocations: 196 kB / 338.5 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008323/0.01871, allocations: 0.6969 MB / 339.2 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.01875, allocations: 74 kB / 339.3 MB, free: 2.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.174e-05/0.01884, allocations: 99.98 kB / 339.4 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.01987, allocations: 1.047 MB / 340.4 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.0199, allocations: 3.953 kB / 340.4 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/0.01996, allocations: 44 kB / 340.5 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.01997, allocations: 24 kB / 340.5 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007697/0.02074, allocations: 0.6481 MB / 341.1 MB, free: 204 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003176/0.02392, allocations: 3.381 MB / 344.5 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.02438, allocations: 350.6 kB / 344.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.02474, allocations: 261.3 kB / 345.1 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.02477, allocations: 4.688 kB / 345.1 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.02479, allocations: 42.56 kB / 345.2 MB, free: 11.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 2.455e-06/0.02479, allocations: 0 / 345.2 MB, free: 11.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001846/0.02664, allocations: 1.324 MB / 346.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.02668, allocations: 85.11 kB / 346.6 MB, free: 10.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006656/0.02735, allocations: 0.7817 MB / 347.4 MB, free: 9.699 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.02737, allocations: 37.7 kB / 347.4 MB, free: 9.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.02764, allocations: 0.5891 MB / 348 MB, free: 9.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.441e-05/0.02773, allocations: 170.6 kB / 348.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.02785, allocations: 134.6 kB / 348.3 MB, free: 8.754 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.02797, allocations: 386.7 kB / 348.7 MB, free: 8.367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.02819, allocations: 177.9 kB / 348.8 MB, free: 8.191 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.02852, allocations: 493.3 kB / 349.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.02909, allocations: 0.6837 MB / 350 MB, free: 6.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.02909, allocations: 7.938 kB / 350 MB, free: 6.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.000809/0.0299, allocations: 0.7752 MB / 350.8 MB, free: 5.953 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.02992, allocations: 8 kB / 350.8 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.02993, allocations: 12 kB / 350.8 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.03013, allocations: 86.02 kB / 350.9 MB, free: 5.844 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.0304, allocations: 155.7 kB / 351 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/0.03204, allocations: 2.889 MB / 353.9 MB, free: 2.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.0324, allocations: 39.92 kB / 354 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.03243, allocations: 36 kB / 354 MB, free: 2.523 MB / 314.7 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.0003254/0.03276, allocations: 265.7 kB / 354.3 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.03284, allocations: 83.48 kB / 354.3 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.03344, allocations: 0.4945 MB / 354.8 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.03344, allocations: 8 kB / 354.8 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.03345, allocations: 0 / 354.8 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.03345, allocations: 3.984 kB / 354.8 MB, free: 1.652 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.03471, allocations: 1.213 MB / 356.1 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.03472, allocations: 4 kB / 356.1 MB, free: 380 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.03488, allocations: 67.91 kB / 356.1 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.03502, allocations: 81.77 kB / 356.2 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.03504, allocations: 12 kB / 356.2 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.03654, allocations: 2.862 MB / 359.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.03654, allocations: 0 / 359.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/0.03738, allocations: 0.8029 MB / 359.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.03758, allocations: 119.4 kB / 360 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.03762, allocations: 15.98 kB / 360 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.03783, allocations: 23.98 kB / 360 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.861e-05/0.0379, allocations: 39.94 kB / 360.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.03791, allocations: 11.98 kB / 360.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004702/0.03838, allocations: 0.5225 MB / 360.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03838, allocations: 0 / 360.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000567/0.03895, allocations: 211.9 kB / 360.8 MB, free: 11.35 MB / 330.7 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.03914, allocations: 127 kB / 360.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007581/0.0399, allocations: 0.682 MB / 361.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.0399, allocations: 4 kB / 361.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003615/0.04026, allocations: 437.8 kB / 362.1 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.04085, allocations: 215 kB / 362.3 MB, free: 9.852 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.04277, allocations: 1.69 MB / 364 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.04304, allocations: 422.4 kB / 364.4 MB, free: 7.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.04316, allocations: 64.48 kB / 364.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04316, allocations: 0 / 364.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of Templates: time 0.01712/0.06029, allocations: 21.43 MB / 385.9 MB, free: 2.195 MB / 346.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCSE_SinglePhase/DCSE_SinglePhase.csv","/var/lib/jenkins/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: 5.525509575381875]