Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 111.2 kB / 18.41 MB, free: 4.562 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.001018/0.001018, allocations: 187.3 kB / 19.33 MB, free: 3.648 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.241/1.241, 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.001156/0.001156, allocations: 55.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07021/0.07138, allocations: 46.61 MB / 375.8 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.1588/0.2301, allocations: 14.61 MB / 390.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02281/0.253, allocations: 19.79 MB / 410.2 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002892/0.2559, allocations: 91.56 kB / 410.3 MB, free: 5.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003682/0.2597, allocations: 1.24 MB / 411.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007927/0.2676, allocations: 2.333 MB / 413.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004883/0.2725, allocations: 1.388 MB / 415.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009574/0.2821, allocations: 6.466 MB / 421.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007398/0.2829, allocations: 472.1 kB / 422.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.2844, allocations: 1.037 MB / 423.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.2861, allocations: 1.125 MB / 424.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.2864, allocations: 74.16 kB / 424.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004324/0.2908, allocations: 1.156 MB / 425.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000392/0.2912, allocations: 337.5 kB / 425.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.2928, allocations: 1.436 MB / 427.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004542/0.2974, allocations: 4.008 MB / 431.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2974, allocations: 0 / 431.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2974, allocations: 0 / 431.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.554e-05/0.2975, allocations: 7.938 kB / 431.4 MB, free: 7.918 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005724/0.3033, allocations: 3.841 MB / 435.2 MB, free: 4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3033, allocations: 8.031 kB / 435.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000468/0.3038, allocations: 418.9 kB / 435.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/0.3072, allocations: 2.487 MB / 438.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.3072, allocations: 36.94 kB / 438.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3074, allocations: 59.89 kB / 438.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.3087, allocations: 0.7342 MB / 438.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3088, allocations: 0 / 438.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.377e-05/0.3088, allocations: 23.98 kB / 439 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.3089, allocations: 23.98 kB / 439 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.3105, allocations: 0.8164 MB / 439.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005226/0.3157, allocations: 3.114 MB / 442.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.317, allocations: 0.5674 MB / 443.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009993/0.318, allocations: 0.6477 MB / 444.1 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02966/0.3477, allocations: 30.19 MB / 474.3 MB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007716/0.3485, allocations: 370.3 kB / 474.7 MB, free: 8.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 3.005e-06/0.3485, allocations: 0 / 474.7 MB, free: 8.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.002234/0.3507, allocations: 1.112 MB / 475.8 MB, free: 7.105 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.3508, allocations: 55.41 kB / 475.9 MB, free: 7.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00364/0.3544, allocations: 3.111 MB / 479 MB, free: 3.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.3545, allocations: 33.7 kB / 479 MB, free: 3.891 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.3558, allocations: 1.577 MB / 480.6 MB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.356, allocations: 169.7 kB / 480.7 MB, free: 2.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.3563, allocations: 226.1 kB / 481 MB, free: 1.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.3564, allocations: 341.9 kB / 481.3 MB, free: 1.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.357, allocations: 241.9 kB / 481.5 MB, free: 1.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007747/0.3578, allocations: 0.602 MB / 482.1 MB, free: 0.5508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.3592, allocations: 0.8935 MB / 483 MB, free: 15.48 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.3592, allocations: 4 kB / 483 MB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002067/0.3613, allocations: 1.256 MB / 484.3 MB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3613, allocations: 8.969 kB / 484.3 MB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/0.3614, allocations: 86.75 kB / 484.4 MB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.3615, allocations: 16 kB / 484.4 MB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/0.3622, allocations: 207.6 kB / 484.6 MB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/0.3622, allocations: 23.92 kB / 484.6 MB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009658/0.3632, allocations: 110.9 kB / 484.7 MB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.784e-05/0.3633, allocations: 64 kB / 484.8 MB, free: 13.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 14 (vin.counter,$PRE.vin.counter,v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin.counter2,$PRE.vin.counter2,vin.T0,$PRE.vin.T0,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0006598/0.364, allocations: 457.5 kB / 485.2 MB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.3644, allocations: 411 kB / 485.6 MB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/0.3671, allocations: 1.218 MB / 486.9 MB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.3671, allocations: 3.984 kB / 486.9 MB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001462/0.3673, allocations: 68 kB / 486.9 MB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.3686, allocations: 496 kB / 487.4 MB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005795/0.3692, allocations: 8 kB / 487.4 MB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/0.3705, allocations: 27.95 kB / 487.4 MB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.3707, allocations: 63.94 kB / 487.5 MB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002625/0.3733, allocations: 0.6844 MB / 488.2 MB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003571/0.3769, allocations: 1.373 MB / 489.6 MB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008864/0.3778, allocations: 240.3 kB / 489.8 MB, free: 8.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004351/0.3822, allocations: 2.019 MB / 491.8 MB, free: 6.609 MB / 414.1 MB Notification: Performance of Backend: time 7.72e-07/0.3822, allocations: 4.062 kB / 491.8 MB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004803/0.387, allocations: 1.49 MB / 493.3 MB, free: 5.086 MB / 414.1 MB Notification: Performance of SimCode: time 0.01126/0.3983, allocations: 5.539 MB / 498.9 MB, free: 15.47 MB / 430.1 MB Notification: Performance of Templates: time 0.07085/0.4692, allocations: 35.54 MB / 0.5219 GB, free: 11.88 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches