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.0008459/0.0008459, allocations: 91.61 kB / 22.18 MB, free: 2.383 MB / 18.57 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.001232/0.001232, allocations: 157.4 kB / 25.44 MB, free: 9.352 MB / 18.57 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 0.8086/0.8086, allocations: 158.6 MB / 187.2 MB, free: 3.059 MB / 170.7 MB " [Timeout remaining time 179] 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.183e-06/1.183e-06, allocations: 0 / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.927e-05, allocations: 2.281 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase): time 0.005582/0.005601, allocations: 7.223 MB / 306.9 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002904/0.008506, allocations: 2.545 MB / 309.5 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003758/0.008881, allocations: 31.88 kB / 309.5 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009036/0.009785, allocations: 0.5246 MB / 310 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006249/0.01041, allocations: 0.531 MB / 310.6 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.01073, allocations: 259.7 kB / 310.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000977/0.01171, allocations: 1.563 MB / 312.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.01212, allocations: 371.3 kB / 312.7 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008577/0.01297, allocations: 0.8806 MB / 313.6 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.01338, allocations: 450.6 kB / 314.1 MB, free: 8.477 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.01349, allocations: 140 kB / 314.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.01368, allocations: 180 kB / 314.4 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.01381, allocations: 286.8 kB / 314.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000285/0.01409, allocations: 474.8 kB / 315.1 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.01516, allocations: 1.752 MB / 316.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.01517, allocations: 3.938 kB / 316.9 MB, free: 5.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.01517, allocations: 0 / 316.9 MB, free: 5.656 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.346e-05/0.01519, allocations: 3.938 kB / 316.9 MB, free: 5.652 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.001502/0.01669, allocations: 1.43 MB / 318.3 MB, free: 4.184 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.01672, allocations: 11.98 kB / 318.3 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.01706, allocations: 200 kB / 318.5 MB, free: 3.977 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007607/0.01782, allocations: 0.697 MB / 319.2 MB, free: 3.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.01786, allocations: 66 kB / 319.3 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.01795, allocations: 108 kB / 319.4 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.01904, allocations: 1.039 MB / 320.4 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.01907, allocations: 8 kB / 320.4 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.01911, allocations: 40 kB / 320.5 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.01913, allocations: 24 kB / 320.5 MB, free: 1.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007467/0.01987, allocations: 0.6442 MB / 321.1 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00273/0.02261, allocations: 3.389 MB / 324.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.02303, allocations: 342.8 kB / 324.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.02337, allocations: 260.7 kB / 325.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.02339, allocations: 4 kB / 325.1 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.02342, allocations: 38.56 kB / 325.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 1.643e-06/0.02342, allocations: 0 / 325.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.00173/0.02515, allocations: 1.337 MB / 326.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.02519, allocations: 81.11 kB / 326.6 MB, free: 11.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007647/0.02596, allocations: 0.7779 MB / 327.3 MB, free: 10.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.02598, allocations: 33.7 kB / 327.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.02623, allocations: 0.5891 MB / 328 MB, free: 10.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.075e-05/0.02631, allocations: 174.5 kB / 328.1 MB, free: 9.969 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.02641, allocations: 134.6 kB / 328.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.02652, allocations: 386.7 kB / 328.6 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.02673, allocations: 169.9 kB / 328.8 MB, free: 9.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.02705, allocations: 0.4934 MB / 329.3 MB, free: 8.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.0276, allocations: 0.6796 MB / 330 MB, free: 7.832 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02761, allocations: 4 kB / 330 MB, free: 7.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007595/0.02837, allocations: 0.7792 MB / 330.8 MB, free: 7.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.02838, allocations: 12 kB / 330.8 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.02839, allocations: 11.98 kB / 330.8 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001706/0.02856, allocations: 85.92 kB / 330.9 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.02882, allocations: 151.8 kB / 331 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.03033, allocations: 2.878 MB / 333.9 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.03057, allocations: 35.94 kB / 333.9 MB, free: 3.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.704e-05/0.0306, allocations: 32 kB / 334 MB, free: 3.621 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.0002187/0.03081, allocations: 261.6 kB / 334.2 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.667e-05/0.03088, allocations: 91.5 kB / 334.3 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005475/0.03143, allocations: 0.491 MB / 334.8 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.03143, allocations: 4 kB / 334.8 MB, free: 2.758 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.03143, allocations: 11.88 kB / 334.8 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.03144, allocations: 7.984 kB / 334.8 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.03259, allocations: 1.216 MB / 336 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.03259, allocations: 8.156 kB / 336.1 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.03275, allocations: 79.83 kB / 336.1 MB, free: 1.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.03286, allocations: 73.61 kB / 336.2 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.03288, allocations: 12 kB / 336.2 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/0.03412, allocations: 2.854 MB / 339.1 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.03412, allocations: 4.031 kB / 339.1 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.03485, allocations: 0.795 MB / 339.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.03499, allocations: 123.5 kB / 340 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.03504, allocations: 12 kB / 340 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.03523, allocations: 35.97 kB / 340 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.427e-05/0.03529, allocations: 31.94 kB / 340.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.0353, allocations: 16 kB / 340.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004125/0.03572, allocations: 0.5186 MB / 340.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03572, allocations: 0 / 340.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004544/0.03617, allocations: 208 kB / 340.8 MB, free: 12.44 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.0001673/0.03634, allocations: 131 kB / 340.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008172/0.03716, allocations: 0.6784 MB / 341.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.03716, allocations: 3.984 kB / 341.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.0375, allocations: 449.9 kB / 342.1 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.03806, allocations: 195.2 kB / 342.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.0397, allocations: 1.692 MB / 343.9 MB, free: 9.188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.03995, allocations: 430.2 kB / 344.4 MB, free: 8.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.04005, allocations: 56.5 kB / 344.4 MB, free: 8.684 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.04005, allocations: 0 / 344.4 MB, free: 8.684 MB / 330.7 MB Notification: Performance of Templates: time 0.1218/0.1619, allocations: 21.43 MB / 365.8 MB, free: 54.68 MB / 330.7 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: 5.21255570743233]