Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.001141/0.001141, allocations: 183 kB / 18.68 MB, free: 4.41 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000959/0.0009591, allocations: 51.91 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2486, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01287/0.2615, allocations: 14.7 MB / 416.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02278/0.2843, allocations: 20.68 MB / 436.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.286, allocations: 87.25 kB / 436.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00266/0.2887, allocations: 1.238 MB / 438.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005823/0.2946, allocations: 2.321 MB / 440.4 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.2983, allocations: 1.447 MB / 441.9 MB, free: 216 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008052/0.3064, allocations: 6.489 MB / 448.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005858/0.307, allocations: 461.1 kB / 448.8 MB, free: 9.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00111/0.3081, allocations: 1.104 MB / 449.9 MB, free: 8.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.3091, allocations: 1.106 MB / 451 MB, free: 7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.3093, allocations: 76 kB / 451.1 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/0.3124, allocations: 1.483 MB / 452.6 MB, free: 5.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.3127, allocations: 329.6 kB / 452.9 MB, free: 5.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.3138, allocations: 1.37 MB / 454.3 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003573/0.3173, allocations: 3.767 MB / 458 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3174, allocations: 0 / 458 MB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3174, allocations: 0 / 458 MB, free: 15.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.034e-05/0.3174, allocations: 7.938 kB / 458 MB, free: 15.95 MB / 382.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.004693/0.3221, allocations: 3.67 MB / 461.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.3221, allocations: 12.03 kB / 461.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/0.3225, allocations: 395.2 kB / 462.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/0.3255, allocations: 2.414 MB / 464.5 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.3255, allocations: 33 kB / 464.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.3257, allocations: 55.91 kB / 464.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.3269, allocations: 0.7265 MB / 465.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.327, allocations: 7.984 kB / 465.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.941e-05/0.327, allocations: 20 kB / 465.4 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.3271, allocations: 19.98 kB / 465.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.3286, allocations: 0.8124 MB / 466.2 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004703/0.3333, allocations: 3.047 MB / 469.2 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.3344, allocations: 0.579 MB / 469.8 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000937/0.3354, allocations: 0.6477 MB / 470.5 MB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02927/0.3647, allocations: 30.12 MB / 0.4889 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007947/0.3655, allocations: 365.6 kB / 0.4892 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.846e-06/0.3655, allocations: 0 / 0.4892 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.002187/0.3677, allocations: 1.089 MB / 0.4903 GB, free: 15.56 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.3678, allocations: 59.41 kB / 0.4903 GB, free: 15.49 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003637/0.3714, allocations: 2.939 MB / 0.4932 GB, free: 12.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.251e-05/0.3715, allocations: 33.7 kB / 0.4932 GB, free: 12.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001273/0.3728, allocations: 1.486 MB / 0.4947 GB, free: 11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.373, allocations: 169.6 kB / 0.4948 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/0.3732, allocations: 230.1 kB / 0.4951 GB, free: 10.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3734, allocations: 337.9 kB / 0.4954 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005831/0.374, allocations: 237.9 kB / 0.4956 GB, free: 10.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/0.3747, allocations: 0.602 MB / 0.4962 GB, free: 9.262 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.3761, allocations: 0.8974 MB / 0.4971 GB, free: 8.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.3762, allocations: 4 kB / 0.4971 GB, free: 8.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002149/0.3783, allocations: 1.229 MB / 0.4983 GB, free: 6.953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.3784, allocations: 12 kB / 0.4983 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/0.3785, allocations: 83.98 kB / 0.4984 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.3785, allocations: 16 kB / 0.4984 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.3793, allocations: 204.3 kB / 0.4986 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.481e-05/0.3793, allocations: 23.88 kB / 0.4986 GB, free: 6.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009153/0.3802, allocations: 114.9 kB / 0.4987 GB, free: 6.508 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.725e-05/0.3803, allocations: 68 kB / 0.4988 GB, free: 6.441 MB / 430.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.0007225/0.3811, allocations: 441.9 kB / 0.4992 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000341/0.3814, allocations: 383.4 kB / 0.4996 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/0.384, allocations: 1.186 MB / 0.5007 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.3841, allocations: 3.984 kB / 0.5007 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001391/0.3842, allocations: 68 kB / 0.5008 GB, free: 4.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/0.385, allocations: 484.1 kB / 0.5013 GB, free: 3.855 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/0.3853, allocations: 15.98 kB / 0.5013 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000644/0.386, allocations: 27.97 kB / 0.5013 GB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.3861, allocations: 63.67 kB / 0.5014 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001627/0.3877, allocations: 0.6851 MB / 0.502 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002315/0.3901, allocations: 1.333 MB / 0.5033 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005497/0.3906, allocations: 248.8 kB / 0.5036 GB, free: 1.457 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00226/0.3929, allocations: 1.907 MB / 0.5054 GB, free: 15.55 MB / 446.1 MB Notification: Performance of Backend: time 7.01e-07/0.3929, allocations: 4 kB / 0.5054 GB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002873/0.3958, allocations: 1.483 MB / 0.5069 GB, free: 14.04 MB / 446.1 MB Notification: Performance of SimCode: time 0.006679/0.4025, allocations: 5.382 MB / 0.5121 GB, free: 8.574 MB / 446.1 MB Notification: Performance of Templates: time 0.2295/0.632, allocations: 34.53 MB / 0.5459 GB, free: 132.6 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/InvertersApartRecord/InvertersApartRecord.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches