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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=5000,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=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 109.4 kB / 18.4 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 187.1 kB / 19.33 MB, free: 3.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 51.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09745/0.09883, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003164/0.102, allocations: 1.516 MB / 377.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1041, allocations: 0.8987 MB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.202e-05/0.1043, allocations: 0 / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.1044, allocations: 11.86 kB / 378.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.1046, allocations: 15.86 kB / 378.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.1049, allocations: 47.88 kB / 378.3 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.1052, allocations: 163.7 kB / 378.5 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1053, allocations: 12 kB / 378.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.1058, allocations: 387.3 kB / 378.9 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.106, allocations: 71.7 kB / 378.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.657e-05/0.1061, allocations: 8 kB / 378.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.533e-05/0.1061, allocations: 12 kB / 378.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.206e-05/0.1062, allocations: 63.7 kB / 379 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.1063, allocations: 119.2 kB / 379.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004109/0.1067, allocations: 362.7 kB / 379.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1068, allocations: 0 / 379.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1068, allocations: 0 / 379.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1068, allocations: 0 / 379.5 MB, free: 0.8984 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.0009296/0.1077, allocations: 0.711 MB / 380.2 MB, free: 116 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1078, allocations: 12.03 kB / 380.2 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1079, allocations: 36.5 kB / 380.2 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1706/0.2785, allocations: 276.8 kB / 380.5 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.2786, allocations: 6.297 kB / 380.5 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.2786, allocations: 12.66 kB / 380.5 MB, free: 13.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.2789, allocations: 121.9 kB / 380.6 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2789, allocations: 0 / 380.6 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.279, allocations: 7.797 kB / 380.6 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.279, allocations: 2.875 kB / 380.6 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.2791, allocations: 61.84 kB / 380.7 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.2799, allocations: 455.8 kB / 381.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.2801, allocations: 97.48 kB / 381.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.2802, allocations: 82.09 kB / 381.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.2803, allocations: 12.23 kB / 381.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004391/0.2807, allocations: 201.8 kB / 381.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.255e-06/0.2807, allocations: 0 / 381.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008081/0.2815, allocations: 476.2 kB / 382 MB, free: 12.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.2816, allocations: 165.4 kB / 382.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006134/0.2822, allocations: 0.5148 MB / 382.7 MB, free: 12.01 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.2822, allocations: 30.98 kB / 382.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.2823, allocations: 101.8 kB / 382.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.2824, allocations: 35 kB / 382.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.2825, allocations: 81.22 kB / 382.9 MB, free: 11.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.569e-05/0.2826, allocations: 322.3 kB / 383.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.2828, allocations: 57.44 kB / 383.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.2829, allocations: 74.72 kB / 383.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.2833, allocations: 349.6 kB / 383.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2833, allocations: 0.5 kB / 383.7 MB, free: 11.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005206/0.2838, allocations: 374 kB / 384.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.47e-05/0.2839, allocations: 129.2 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.2839, allocations: 1.734 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2839, allocations: 4.172 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.129e-05/0.2839, allocations: 1.547 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2839, allocations: 1.031 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.2841, allocations: 16.78 kB / 384.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.2842, allocations: 41.64 kB / 384.3 MB, free: 10.88 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.0002891/0.2844, allocations: 365.4 kB / 384.6 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.2845, allocations: 43.44 kB / 384.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.516e-05/0.2846, allocations: 65.12 kB / 384.7 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2846, allocations: 3.344 kB / 384.7 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2846, allocations: 5.203 kB / 384.7 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2846, allocations: 0 / 384.7 MB, free: 10.51 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008394/0.2855, allocations: 0.8102 MB / 385.5 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2855, allocations: 2.031 kB / 385.5 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.2855, allocations: 0 / 385.5 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.2855, allocations: 2.672 kB / 385.6 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.2856, allocations: 12.06 kB / 385.6 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.2856, allocations: 7.75 kB / 385.6 MB, free: 9.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2856, allocations: 0.7969 kB / 385.6 MB, free: 9.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005654/0.2862, allocations: 0.523 MB / 386.1 MB, free: 9.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.2864, allocations: 246.8 kB / 386.3 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.2865, allocations: 12.03 kB / 386.3 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2866, allocations: 10.92 kB / 386.4 MB, free: 9.398 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.2868, allocations: 24.11 kB / 386.4 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.2868, allocations: 52.03 kB / 386.4 MB, free: 9.383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004271/0.2873, allocations: 388.4 kB / 386.8 MB, free: 9.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2873, allocations: 0 / 386.8 MB, free: 9.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.2876, allocations: 45.59 kB / 386.9 MB, free: 9.176 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.0001676/0.2878, allocations: 118.5 kB / 387 MB, free: 9.082 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.2882, allocations: 448 kB / 387.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2882, allocations: 0 / 387.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.2885, allocations: 376.3 kB / 387.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006344/0.2891, allocations: 122.8 kB / 387.9 MB, free: 8.367 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.2902, allocations: 0.7065 MB / 388.6 MB, free: 7.938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.2905, allocations: 0.8005 MB / 389.4 MB, free: 7.203 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.2905, allocations: 12.22 kB / 389.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2905, allocations: 0 / 389.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of Templates: time 0.0051/0.2956, allocations: 2.588 MB / 392 MB, free: 6.926 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.makefile (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) 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) Reference file matches