Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.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.001991/0.001991, allocations: 80.34 kB / 20.95 MB, free: 3.457 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.002638/0.002638, allocations: 165.7 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.91e-05, allocations: 2.312 kB / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002753/0.002782, allocations: 1.509 MB / 273.8 MB, free: 308 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.00483, allocations: 0.8264 MB / 274.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.004873, allocations: 0 / 274.6 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.636e-05/0.00497, allocations: 11.86 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.056e-05/0.00506, allocations: 27.78 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.005339, allocations: 51.88 kB / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.005554, allocations: 135.7 kB / 274.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.667e-05/0.00564, allocations: 19.97 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00056/0.0062, allocations: 415.2 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.006331, allocations: 59.81 kB / 275.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.006371, allocations: 15.94 kB / 275.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.342e-05/0.006404, allocations: 12 kB / 275.4 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.614e-05/0.0065, allocations: 67.72 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.414e-05/0.006594, allocations: 47.8 kB / 275.5 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004469/0.007041, allocations: 358.8 kB / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.007044, allocations: 0 / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007045, allocations: 0 / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.00705, allocations: 0 / 275.8 MB, free: 14.27 MB / 266.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.001098/0.008148, allocations: 0.6552 MB / 276.5 MB, free: 13.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.008182, allocations: 8.031 kB / 276.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.008292, allocations: 48.69 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.008605, allocations: 224.1 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.008628, allocations: 4.375 kB / 276.8 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.008662, allocations: 12.38 kB / 276.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.009124, allocations: 248.9 kB / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.009134, allocations: 192 / 277 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.00916, allocations: 4.375 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.009168, allocations: 3.938 kB / 277 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.009413, allocations: 178.8 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006863/0.0101, allocations: 384.2 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.01038, allocations: 197.3 kB / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.01062, allocations: 183.7 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.01064, allocations: 7.938 kB / 278 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004923/0.01114, allocations: 321.5 kB / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.01114, allocations: 0 / 278.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001112/0.01225, allocations: 0.7049 MB / 279 MB, free: 10.77 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.01239, allocations: 174.2 kB / 279.2 MB, free: 10.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007493/0.01314, allocations: 0.5091 MB / 279.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.01318, allocations: 33.7 kB / 279.7 MB, free: 10 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.01326, allocations: 101.1 kB / 279.8 MB, free: 9.898 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.01331, allocations: 35.78 kB / 279.8 MB, free: 9.863 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.01344, allocations: 81.5 kB / 279.9 MB, free: 9.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.01362, allocations: 326.8 kB / 280.2 MB, free: 9.449 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.01385, allocations: 174.8 kB / 280.4 MB, free: 9.254 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.01411, allocations: 192.5 kB / 280.6 MB, free: 9.035 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.01453, allocations: 355.2 kB / 280.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01453, allocations: 0 / 280.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007304/0.01526, allocations: 0.503 MB / 281.4 MB, free: 8.078 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.01538, allocations: 126.8 kB / 281.6 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01538, allocations: 128 / 281.6 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.0154, allocations: 4.031 kB / 281.6 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.432e-05/0.01542, allocations: 8 kB / 281.6 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01543, allocations: 0 / 281.6 MB, free: 7.918 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.01557, allocations: 15.98 kB / 281.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.01563, allocations: 40 kB / 281.6 MB, free: 7.863 MB / 266.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.0004172/0.01605, allocations: 366.5 kB / 282 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.116e-05/0.01613, allocations: 51.81 kB / 282 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.01624, allocations: 67.03 kB / 282.1 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01624, allocations: 0 / 282.1 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01624, allocations: 4 kB / 282.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01625, allocations: 3.984 kB / 282.1 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.01763, allocations: 0.8666 MB / 283 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01763, allocations: 0 / 283 MB, free: 6.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.01764, allocations: 7.984 kB / 283 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01764, allocations: 0 / 283 MB, free: 6.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.01767, allocations: 11.98 kB / 283 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01767, allocations: 0 / 283 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.01768, allocations: 4 kB / 283 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008677/0.01854, allocations: 0.6609 MB / 283.7 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003823/0.01893, allocations: 201.3 kB / 283.9 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.01898, allocations: 16 kB / 283.9 MB, free: 5.438 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.01913, allocations: 15.97 kB / 283.9 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.01924, allocations: 27.97 kB / 283.9 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-05/0.0193, allocations: 47.94 kB / 284 MB, free: 5.348 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005497/0.01985, allocations: 382.8 kB / 284.3 MB, free: 4.977 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01985, allocations: 4 kB / 284.3 MB, free: 4.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.02014, allocations: 43.98 kB / 284.4 MB, free: 4.93 MB / 266.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.0001577/0.0203, allocations: 115.2 kB / 284.5 MB, free: 4.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007465/0.02105, allocations: 0.6124 MB / 285.1 MB, free: 4.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.02105, allocations: 4 kB / 285.1 MB, free: 4.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.02148, allocations: 424.3 kB / 285.5 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.02214, allocations: 142.2 kB / 285.7 MB, free: 3.477 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.02343, allocations: 0.7899 MB / 286.5 MB, free: 2.633 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.02371, allocations: 189.7 kB / 286.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.227e-05/0.02376, allocations: 8.797 kB / 286.7 MB, free: 2.414 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.02379, allocations: 24.44 kB / 286.7 MB, free: 2.391 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02379, allocations: 0 / 286.7 MB, free: 2.391 MB / 266.7 MB Notification: Performance of Templates: time 0.009459/0.03325, allocations: 4.91 MB / 291.6 MB, free: 13.5 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.549198966939002]