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.001256/0.001256, allocations: 108.4 kB / 18.4 MB, free: 4.68 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.001208/0.001208, allocations: 190.1 kB / 19.34 MB, free: 3.754 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.498/1.498, 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.001275/0.001275, allocations: 56.2 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09513/0.09642, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.003183/0.09965, allocations: 1.528 MB / 377.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1016, allocations: 0.8894 MB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.385e-05/0.1017, allocations: 0 / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.645e-05/0.1018, allocations: 11.92 kB / 378.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.686e-05/0.1019, allocations: 15.86 kB / 378.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.1021, allocations: 43.89 kB / 378.3 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.1024, allocations: 155.7 kB / 378.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1025, allocations: 23.98 kB / 378.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004355/0.1029, allocations: 395.2 kB / 378.9 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.103, allocations: 63.7 kB / 378.9 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.1031, allocations: 8 kB / 378.9 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.675e-05/0.1031, allocations: 12 kB / 378.9 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1032, allocations: 59.77 kB / 379 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.1034, allocations: 119.1 kB / 379.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.1037, allocations: 358.8 kB / 379.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1038, allocations: 4 kB / 379.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1038, allocations: 0 / 379.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1038, allocations: 4 kB / 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.0007993/0.1046, allocations: 0.7149 MB / 380.2 MB, free: 112 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1046, allocations: 8.031 kB / 380.2 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.7e-05/0.1047, allocations: 32.56 kB / 380.2 MB, free: 72 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2029/0.3076, allocations: 276.6 kB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.3077, allocations: 6.25 kB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.3077, allocations: 9.25 kB / 380.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.3081, allocations: 126.5 kB / 380.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3081, allocations: 0 / 380.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.3081, allocations: 4.594 kB / 380.6 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3081, allocations: 3.406 kB / 380.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.3083, allocations: 63.86 kB / 380.7 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/0.309, allocations: 453.7 kB / 381.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3092, allocations: 101.1 kB / 381.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.3094, allocations: 86.02 kB / 381.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.3094, allocations: 5.312 kB / 381.3 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/0.3098, allocations: 198.4 kB / 381.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.033e-06/0.3098, allocations: 2.594 kB / 381.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008241/0.3106, allocations: 472.6 kB / 382 MB, free: 12.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.3107, allocations: 170.6 kB / 382.2 MB, free: 12.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000716/0.3114, allocations: 0.5123 MB / 382.7 MB, free: 12.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.3114, allocations: 33.2 kB / 382.7 MB, free: 11.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.3115, allocations: 102.1 kB / 382.8 MB, free: 11.9 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.3116, allocations: 31.78 kB / 382.8 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3117, allocations: 80.91 kB / 382.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.3118, allocations: 326.1 kB / 383.2 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.3119, allocations: 56.47 kB / 383.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.3121, allocations: 72.78 kB / 383.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.3125, allocations: 342.8 kB / 383.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3125, allocations: 0 / 383.7 MB, free: 11.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005617/0.313, allocations: 380.9 kB / 384.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.775e-05/0.3131, allocations: 127.2 kB / 384.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3131, allocations: 4.938 kB / 384.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.3132, allocations: 1.094 kB / 384.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.298e-05/0.3132, allocations: 4.344 kB / 384.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.3132, allocations: 4.031 kB / 384.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.3133, allocations: 12.38 kB / 384.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.3134, allocations: 41.2 kB / 384.3 MB, free: 10.89 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.0002876/0.3137, allocations: 370.1 kB / 384.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.3138, allocations: 43.12 kB / 384.7 MB, free: 10.56 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.516e-05/0.3139, allocations: 64.75 kB / 384.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3139, allocations: 5.359 kB / 384.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3139, allocations: 3.781 kB / 384.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.3142, allocations: 244.4 kB / 385 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.3142, allocations: 11.95 kB / 385 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3143, allocations: 10.81 kB / 385 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.3144, allocations: 21.44 kB / 385 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005846/0.315, allocations: 0.701 MB / 385.7 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006088/0.3157, allocations: 0.5977 MB / 386.3 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001897/0.3159, allocations: 148.1 kB / 386.5 MB, free: 9.277 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004432/0.3163, allocations: 388.2 kB / 386.8 MB, free: 9.074 MB / 318.1 MB Notification: Performance of Backend: time 4.3e-07/0.3163, allocations: 0 / 386.8 MB, free: 9.074 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006169/0.3169, allocations: 449.1 kB / 387.3 MB, free: 8.688 MB / 318.1 MB Notification: Performance of SimCode: time 0.001241/0.3182, allocations: 1.32 MB / 388.6 MB, free: 7.578 MB / 318.1 MB Notification: Performance of Templates: time 0.008376/0.3266, allocations: 4.042 MB / 392.6 MB, free: 7.16 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