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) 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 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|iNV3S.y",fileNamePrefix="Modelica_4.0.0_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.001608/0.001608, allocations: 110.9 kB / 17.75 MB, free: 5.305 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.001914/0.001914, allocations: 190.6 kB / 18.68 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 55.91 kB / 352 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.281, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002423/0.2834, allocations: 1.526 MB / 402.9 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.2852, allocations: 0.8403 MB / 403.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.2852, allocations: 4 kB / 403.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.141e-05/0.2853, allocations: 7.922 kB / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.56e-05/0.2854, allocations: 23.8 kB / 403.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.2857, allocations: 51.88 kB / 403.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.2859, allocations: 147.7 kB / 404 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.807e-05/0.286, allocations: 27.97 kB / 404 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004525/0.2865, allocations: 391.2 kB / 404.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.2866, allocations: 59.77 kB / 404.5 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.441e-05/0.2867, allocations: 16 kB / 404.5 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.36e-05/0.2867, allocations: 8 kB / 404.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.559e-05/0.2868, allocations: 67.7 kB / 404.6 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.2869, allocations: 115.2 kB / 404.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.2873, allocations: 362.3 kB / 405 MB, free: 5.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2873, allocations: 0 / 405 MB, free: 5.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2873, allocations: 0 / 405 MB, free: 5.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2873, allocations: 0 / 405 MB, free: 5.242 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.0007041/0.288, allocations: 0.7305 MB / 405.8 MB, free: 4.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.288, allocations: 11.97 kB / 405.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.76e-05/0.2881, allocations: 48.7 kB / 405.8 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.2884, allocations: 290.5 kB / 406.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.2884, allocations: 4.375 kB / 406.1 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.2884, allocations: 8.375 kB / 406.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.2887, allocations: 125.9 kB / 406.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.2888, allocations: 3.984 kB / 406.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.2888, allocations: 11.98 kB / 406.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2888, allocations: 0 / 406.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.2889, allocations: 55.97 kB / 406.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.2895, allocations: 472.4 kB / 406.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.2897, allocations: 90.55 kB / 406.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.2899, allocations: 84.89 kB / 406.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.2899, allocations: 0 / 406.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/0.2902, allocations: 208.3 kB / 407.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.2902, allocations: 0 / 407.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007557/0.291, allocations: 466.3 kB / 407.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/0.2911, allocations: 170.2 kB / 407.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.2917, allocations: 0.513 MB / 408.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.2918, allocations: 29.7 kB / 408.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.2918, allocations: 101.1 kB / 408.4 MB, free: 1.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.2919, allocations: 31.73 kB / 408.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.292, allocations: 81.55 kB / 408.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2921, allocations: 330.8 kB / 408.8 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.2923, allocations: 55.97 kB / 408.9 MB, free: 1.066 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.2924, allocations: 69.69 kB / 409 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.2927, allocations: 347.4 kB / 409.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2927, allocations: 0 / 409.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000513/0.2933, allocations: 382.2 kB / 409.7 MB, free: 200 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/0.2934, allocations: 122.8 kB / 409.8 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2934, allocations: 0 / 409.8 MB, free: 52 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.2934, allocations: 4 kB / 409.8 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.038e-05/0.2934, allocations: 0 / 409.8 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2934, allocations: 7.922 kB / 409.8 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.2936, allocations: 16 kB / 409.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.2937, allocations: 40.09 kB / 409.9 MB, free: 15.98 MB / 334.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.0003278/0.294, allocations: 366.2 kB / 410.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.294, allocations: 43.75 kB / 410.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.543e-05/0.2941, allocations: 67.16 kB / 410.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2942, allocations: 0 / 410.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2942, allocations: 0 / 410.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.2945, allocations: 240.6 kB / 410.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/0.2945, allocations: 15.94 kB / 410.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.2946, allocations: 20.05 kB / 410.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.2947, allocations: 23.97 kB / 410.6 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007716/0.2955, allocations: 0.6888 MB / 411.3 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006943/0.2962, allocations: 0.6106 MB / 411.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002083/0.2964, allocations: 148 kB / 412.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004699/0.2969, allocations: 382.9 kB / 412.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Backend: time 6.41e-07/0.2969, allocations: 4 kB / 412.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006963/0.2976, allocations: 447.9 kB / 412.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of SimCode: time 0.001486/0.2991, allocations: 1.331 MB / 414.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of Templates: time 0.007142/0.3063, allocations: 3.95 MB / 418.2 MB, free: 7.34 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches