Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.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.0007938/0.0007938, allocations: 84 kB / 21.43 MB, free: 3.133 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.005112/0.005112, allocations: 145.7 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.816/0.816, allocations: 173.4 MB / 201.2 MB, free: 9.445 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.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 319.7 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.725e-05, allocations: 9.656 kB / 319.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001661/0.001678, allocations: 1.483 MB / 321.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.00293, allocations: 0.803 MB / 322 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.822e-05/0.002979, allocations: 0 / 322 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.051e-05/0.003059, allocations: 11.86 kB / 322 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.418e-05/0.003133, allocations: 19.86 kB / 322 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.003368, allocations: 55.81 kB / 322.1 MB, free: 3.477 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.003532, allocations: 139.7 kB / 322.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.003615, allocations: 8 kB / 322.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.003944, allocations: 423.2 kB / 322.6 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.519e-05/0.004039, allocations: 59.81 kB / 322.7 MB, free: 2.859 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.004074, allocations: 12 kB / 322.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.034e-05/0.004094, allocations: 15.94 kB / 322.7 MB, free: 2.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.51e-05/0.00416, allocations: 63.78 kB / 322.8 MB, free: 2.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.004222, allocations: 55.73 kB / 322.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.004485, allocations: 354.9 kB / 323.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.00449, allocations: 8 kB / 323.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.00449, allocations: 0 / 323.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.004494, allocations: 0 / 323.2 MB, free: 2.359 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005074/0.005002, allocations: 0.6506 MB / 323.8 MB, free: 1.656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.005037, allocations: 8.922 kB / 323.8 MB, free: 1.648 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.005089, allocations: 40.7 kB / 323.9 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.005283, allocations: 228 kB / 324.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.0053, allocations: 4.375 kB / 324.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.005319, allocations: 12.38 kB / 324.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.00557, allocations: 245 kB / 324.4 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.005578, allocations: 192 / 324.4 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.005593, allocations: 8.312 kB / 324.4 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.005598, allocations: 3.938 kB / 324.4 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.005717, allocations: 178.7 kB / 324.5 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.006143, allocations: 384.3 kB / 324.9 MB, free: 468 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.006295, allocations: 193.3 kB / 325.1 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.006412, allocations: 187.7 kB / 325.3 MB, free: 24 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.006425, allocations: 7.922 kB / 325.3 MB, free: 16 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/0.006703, allocations: 324.6 kB / 325.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.006704, allocations: 0 / 325.6 MB, free: 15.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006106/0.007315, allocations: 0.6969 MB / 326.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.007385, allocations: 170.2 kB / 326.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.007783, allocations: 0.513 MB / 327 MB, free: 14.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.007804, allocations: 33.7 kB / 327 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.007856, allocations: 97.09 kB / 327.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.007886, allocations: 35.77 kB / 327.1 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.007959, allocations: 81.52 kB / 327.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.037e-05/0.00805, allocations: 322.8 kB / 327.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.008169, allocations: 178.8 kB / 327.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.008297, allocations: 192.5 kB / 327.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.008522, allocations: 359.3 kB / 328.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.008525, allocations: 0 / 328.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003715/0.008896, allocations: 0.4991 MB / 328.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/0.008963, allocations: 122.9 kB / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.008969, allocations: 3.938 kB / 328.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.008985, allocations: 12.02 kB / 328.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.869e-05/0.009003, allocations: 0 / 328.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.009011, allocations: 0 / 328.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.78e-05/0.009108, allocations: 8 kB / 328.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.009159, allocations: 47.98 kB / 328.9 MB, free: 11.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002272/0.009387, allocations: 362.5 kB / 329.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.009425, allocations: 43.7 kB / 329.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.498e-05/0.0095, allocations: 63.09 kB / 329.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.009502, allocations: 0 / 329.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.009507, allocations: 8.125 kB / 329.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.009509, allocations: 0 / 329.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.01014, allocations: 0.8661 MB / 330.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01015, allocations: 0 / 330.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-06/0.01015, allocations: 4 kB / 330.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01015, allocations: 0 / 330.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.01017, allocations: 15.98 kB / 330.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01017, allocations: 0 / 330.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.01017, allocations: 4 kB / 330.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.01063, allocations: 0.6647 MB / 331 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.01086, allocations: 205.3 kB / 331.2 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.0109, allocations: 16 kB / 331.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.01098, allocations: 11.98 kB / 331.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/0.01106, allocations: 23.98 kB / 331.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/0.01109, allocations: 43.98 kB / 331.3 MB, free: 9.465 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002897/0.01138, allocations: 386.9 kB / 331.6 MB, free: 9.086 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01138, allocations: 3.938 kB / 331.6 MB, free: 9.082 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.01157, allocations: 47.95 kB / 331.7 MB, free: 9.035 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001/0.01167, allocations: 115 kB / 331.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.01209, allocations: 0.6085 MB / 332.4 MB, free: 8.207 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01209, allocations: 0 / 332.4 MB, free: 8.207 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.01231, allocations: 424.4 kB / 332.8 MB, free: 7.719 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.01268, allocations: 136.7 kB / 333 MB, free: 7.598 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008243/0.01351, allocations: 0.8171 MB / 333.8 MB, free: 6.727 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000169/0.01368, allocations: 189.7 kB / 334 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.0137, allocations: 12.5 kB / 334 MB, free: 6.508 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0137, allocations: 4.062 kB / 334 MB, free: 6.504 MB / 298.7 MB Notification: Performance of Templates: time 0.003017/0.01672, allocations: 2.584 MB / 336.6 MB, free: 3.906 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.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.494178804568946]