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.001905/0.001905, allocations: 89.2 kB / 20.69 MB, free: 1.043 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.002266/0.002266, allocations: 163.6 kB / 23.96 MB, free: 4.18 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.54/1.54, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.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 2.284e-06/2.284e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.63e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.01057/0.01059, allocations: 7.28 MB / 332.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005711/0.0163, allocations: 2.575 MB / 334.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.01775, allocations: 28.5 kB / 334.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001935/0.01968, allocations: 0.5347 MB / 335.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.02151, allocations: 0.5292 MB / 336 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007917/0.0223, allocations: 267.6 kB / 336.2 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002313/0.02461, allocations: 1.568 MB / 337.8 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007473/0.02536, allocations: 371.4 kB / 338.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.02681, allocations: 0.8862 MB / 339 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008528/0.02766, allocations: 451.8 kB / 339.5 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002353/0.0279, allocations: 140 kB / 339.6 MB, free: 6.359 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.02834, allocations: 179.9 kB / 339.8 MB, free: 6.242 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.02859, allocations: 294.9 kB / 340.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005676/0.02916, allocations: 466.8 kB / 340.5 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002/0.03116, allocations: 1.768 MB / 342.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.03116, allocations: 0 / 342.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.03116, allocations: 0 / 342.3 MB, free: 3.723 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.03117, allocations: 4 kB / 342.3 MB, free: 3.719 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.002473/0.03365, allocations: 1.427 MB / 343.7 MB, free: 2.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.03369, allocations: 11.98 kB / 343.8 MB, free: 2.238 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008025/0.03449, allocations: 204 kB / 344 MB, free: 2.039 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.0359, allocations: 0.7048 MB / 344.7 MB, free: 1.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-05/0.03597, allocations: 70 kB / 344.7 MB, free: 1.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.03612, allocations: 108 kB / 344.8 MB, free: 1.137 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.03782, allocations: 1.051 MB / 345.9 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.03785, allocations: 3.984 kB / 345.9 MB, free: 28 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.03795, allocations: 44.03 kB / 345.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.03798, allocations: 28 kB / 346 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/0.03936, allocations: 0.6441 MB / 346.6 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005407/0.04476, allocations: 3.381 MB / 350 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/0.04561, allocations: 343.1 kB / 350.3 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009463/0.04656, allocations: 256.7 kB / 350.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.087e-05/0.0466, allocations: 4 kB / 350.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.04665, allocations: 42.5 kB / 350.6 MB, free: 11.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 2.826e-06/0.04665, allocations: 4 kB / 350.6 MB, free: 11.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.004716/0.05137, allocations: 1.324 MB / 351.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.282e-05/0.05145, allocations: 85.11 kB / 352 MB, free: 9.613 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.05307, allocations: 0.7818 MB / 352.8 MB, free: 8.82 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.011e-05/0.05313, allocations: 37.7 kB / 352.8 MB, free: 8.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007341/0.05387, allocations: 0.5891 MB / 353.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.05417, allocations: 170.6 kB / 353.6 MB, free: 8.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003027/0.05447, allocations: 130.6 kB / 353.7 MB, free: 7.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0003248/0.0548, allocations: 390.8 kB / 354.1 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.05541, allocations: 169.9 kB / 354.3 MB, free: 7.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.05643, allocations: 497.3 kB / 354.8 MB, free: 6.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.05803, allocations: 0.6874 MB / 355.4 MB, free: 5.871 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.05804, allocations: 4 kB / 355.5 MB, free: 5.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00222/0.06026, allocations: 0.7794 MB / 356.2 MB, free: 5.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.0603, allocations: 12 kB / 356.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.06032, allocations: 11.94 kB / 356.3 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.06072, allocations: 85.94 kB / 356.3 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/0.06152, allocations: 155.7 kB / 356.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004231/0.06575, allocations: 2.882 MB / 359.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009274/0.06667, allocations: 27.98 kB / 359.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/0.06675, allocations: 36 kB / 359.4 MB, free: 1.656 MB / 318.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.0005363/0.06729, allocations: 265.7 kB / 359.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.06744, allocations: 87.44 kB / 359.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.06907, allocations: 0.5025 MB / 360.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.06908, allocations: 8.094 kB / 360.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.0691, allocations: 7.984 kB / 360.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.0691, allocations: 0 / 360.3 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.07224, allocations: 1.216 MB / 361.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.07225, allocations: 0 / 361.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.07276, allocations: 75.83 kB / 361.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003204/0.07308, allocations: 77.61 kB / 361.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.07312, allocations: 8.219 kB / 361.7 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003817/0.07694, allocations: 2.863 MB / 364.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.07694, allocations: 12.08 kB / 364.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002128/0.07907, allocations: 0.783 MB / 365.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004132/0.07949, allocations: 123.4 kB / 365.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.07963, allocations: 12 kB / 365.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/0.08029, allocations: 27.97 kB / 365.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.08042, allocations: 35.94 kB / 365.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.08046, allocations: 12 kB / 365.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001161/0.08162, allocations: 0.5264 MB / 366.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.08162, allocations: 3.938 kB / 366.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001523/0.08315, allocations: 207.9 kB / 366.3 MB, free: 10.48 MB / 334.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.0003357/0.08348, allocations: 127.1 kB / 366.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001997/0.08548, allocations: 0.6901 MB / 367.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.08548, allocations: 0 / 367.1 MB, free: 9.633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.08659, allocations: 430 kB / 367.5 MB, free: 9.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.08835, allocations: 220 kB / 367.7 MB, free: 8.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.09349, allocations: 1.668 MB / 369.4 MB, free: 7.262 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/0.0942, allocations: 430.4 kB / 369.8 MB, free: 6.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006154/0.09482, allocations: 98.75 kB / 369.9 MB, free: 6.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.09506, allocations: 56.48 kB / 370 MB, free: 6.656 MB / 334.1 MB Notification: Performance of SimCode: time 1.462e-06/0.09506, allocations: 0 / 370 MB, free: 6.656 MB / 334.1 MB Notification: Performance of Templates: time 0.03246/0.1275, allocations: 10.23 MB / 380.2 MB, free: 12.6 MB / 350.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.011956416070461]