Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.006241/0.006241, allocations: 98.41 kB / 21.93 MB, free: 5.188 MB / 14.72 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.001593/0.001593, allocations: 221.8 kB / 25.23 MB, free: 3.156 MB / 14.72 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 1.451/1.451, allocations: 207.7 MB / 236.1 MB, free: 9.945 MB / 190.1 MB " [Timeout remaining time 178] 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.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") translateModel(Modelica.Electrical.Digital.Examples.INV3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5009,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.84 kB / 348.4 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2769, allocations: 49.15 MB / 397.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002388/0.2793, allocations: 1.469 MB / 399.1 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.2811, allocations: 0.8419 MB / 399.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.2811, allocations: 1.125 kB / 399.9 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.2812, allocations: 12.77 kB / 399.9 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.453e-05/0.2813, allocations: 22.52 kB / 399.9 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.2816, allocations: 54.12 kB / 400 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.2818, allocations: 144.4 kB / 400.1 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.2819, allocations: 12.23 kB / 400.1 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005445/0.2825, allocations: 400.6 kB / 400.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.2826, allocations: 63.16 kB / 400.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.2826, allocations: 9.125 kB / 400.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.682e-05/0.2827, allocations: 10.44 kB / 400.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.2828, allocations: 66.33 kB / 400.7 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.254e-05/0.2829, allocations: 83.8 kB / 400.8 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.2833, allocations: 363.5 kB / 401.1 MB, free: 7.453 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2833, allocations: 5.094 kB / 401.1 MB, free: 7.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2833, allocations: 3.938 kB / 401.1 MB, free: 7.445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2833, allocations: 0 / 401.1 MB, free: 7.445 MB / 318.1 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.0006998/0.284, allocations: 0.6637 MB / 401.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.2841, allocations: 13.75 kB / 401.8 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.2842, allocations: 38.92 kB / 401.8 MB, free: 6.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.2844, allocations: 213.4 kB / 402.1 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.2844, allocations: 9.844 kB / 402.1 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.2844, allocations: 7.594 kB / 402.1 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.2848, allocations: 242.8 kB / 402.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.2848, allocations: 3.984 kB / 402.3 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.2848, allocations: 8.188 kB / 402.3 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.2848, allocations: 0.7031 kB / 402.3 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.285, allocations: 177 kB / 402.5 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.2856, allocations: 393.8 kB / 402.9 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.2858, allocations: 189.2 kB / 403.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.286, allocations: 184 kB / 403.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.286, allocations: 0 / 403.2 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003979/0.2864, allocations: 328.8 kB / 403.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.2864, allocations: 4 kB / 403.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000799/0.2872, allocations: 0.6973 MB / 404.3 MB, free: 4.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.2872, allocations: 167.4 kB / 404.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006186/0.2879, allocations: 0.5125 MB / 404.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.2879, allocations: 33.52 kB / 405 MB, free: 4.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.123e-05/0.2879, allocations: 96.19 kB / 405.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.288, allocations: 32.94 kB / 405.1 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.2881, allocations: 82.33 kB / 405.2 MB, free: 4.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.2881, allocations: 325.5 kB / 405.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.2883, allocations: 174.2 kB / 405.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.2885, allocations: 197.3 kB / 405.9 MB, free: 3.551 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.2887, allocations: 351 kB / 406.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2887, allocations: 1.5 kB / 406.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005277/0.2893, allocations: 0.4953 MB / 406.7 MB, free: 2.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.802e-05/0.2893, allocations: 121.5 kB / 406.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2893, allocations: 1.812 kB / 406.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2893, allocations: 0.5156 kB / 406.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.182e-05/0.2894, allocations: 2.094 kB / 406.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2894, allocations: 0.9062 kB / 406.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.2895, allocations: 15.16 kB / 406.8 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.2896, allocations: 47.05 kB / 406.9 MB, free: 2.727 MB / 318.1 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.0003035/0.2899, allocations: 369 kB / 407.2 MB, free: 2.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/0.2899, allocations: 39.61 kB / 407.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.29, allocations: 65.28 kB / 407.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.29, allocations: 1.188 kB / 407.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.29, allocations: 0.6094 kB / 407.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.29, allocations: 0 / 407.4 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008708/0.2909, allocations: 0.8598 MB / 408.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2909, allocations: 0 / 408.2 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-06/0.2909, allocations: 5.453 kB / 408.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2909, allocations: 5.094 kB / 408.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.291, allocations: 11.64 kB / 408.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.291, allocations: 0.7031 kB / 408.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.291, allocations: 1.375 kB / 408.2 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.2916, allocations: 0.6478 MB / 408.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003792/0.292, allocations: 206 kB / 409.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.292, allocations: 11.28 kB / 409.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.2921, allocations: 18.97 kB / 409.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.2923, allocations: 24.97 kB / 409.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/0.2923, allocations: 49.16 kB / 409.2 MB, free: 1.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004349/0.2927, allocations: 388 kB / 409.6 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2927, allocations: 0 / 409.6 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002938/0.293, allocations: 45.19 kB / 409.6 MB, free: 0.8594 MB / 318.1 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.0001054/0.2931, allocations: 119.7 kB / 409.7 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004964/0.2936, allocations: 0.6086 MB / 410.3 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2936, allocations: 0 / 410.3 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003553/0.294, allocations: 433.7 kB / 410.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006461/0.2946, allocations: 120.9 kB / 410.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.296, allocations: 0.8233 MB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.2962, allocations: 188.2 kB / 411.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.2963, allocations: 11.38 kB / 411.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2963, allocations: 1.312 kB / 411.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Templates: time 0.005133/0.3014, allocations: 2.586 MB / 414.5 MB, free: 14.04 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.52028035512194]