Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.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.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 96.42 kB / 16.94 MB, free: 6.445 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.001478/0.001478, allocations: 183 kB / 17.83 MB, free: 6.012 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.568/1.568, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004302/0.0004303, allocations: 11.44 kB / 280.7 MB, free: 3.77 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1015, allocations: 47.58 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.01735/0.1188, allocations: 20.31 MB / 348.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02409/0.143, allocations: 18.75 MB / 367.4 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.147, allocations: 55.69 kB / 367.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003942/0.1509, allocations: 1.278 MB / 368.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00941/0.1604, allocations: 2.98 MB / 371.7 MB, free: 8.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004369/0.1648, allocations: 1.286 MB / 373 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2054/0.3702, allocations: 11.89 MB / 384.9 MB, free: 16.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.3719, allocations: 0.7935 MB / 385.7 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003518/0.3754, allocations: 1.556 MB / 387.2 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004554/0.38, allocations: 1.875 MB / 389.1 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007854/0.3808, allocations: 77.09 kB / 389.2 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006819/0.3876, allocations: 1.251 MB / 390.4 MB, free: 15.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006997/0.3884, allocations: 0.5016 MB / 390.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002833/0.3912, allocations: 1.18 MB / 392.1 MB, free: 15.47 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006152/0.3974, allocations: 4.652 MB / 396.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3974, allocations: 0 / 396.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3974, allocations: 0 / 396.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002508/0.3977, allocations: 0 / 396.8 MB, free: 14.84 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.00963/0.4073, allocations: 5.87 MB / 402.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4074, allocations: 7.375 kB / 402.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.4084, allocations: 0.7558 MB / 403.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007439/0.4159, allocations: 4.305 MB / 407.7 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.167e-05/0.416, allocations: 69.73 kB / 407.8 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/0.4162, allocations: 105 kB / 407.9 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.4181, allocations: 1.315 MB / 409.2 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.4182, allocations: 0 / 409.2 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.4183, allocations: 35.47 kB / 409.2 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.4183, allocations: 38.41 kB / 409.3 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.4205, allocations: 1.521 MB / 410.8 MB, free: 9.191 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009135/0.4296, allocations: 5.634 MB / 416.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.431, allocations: 1.032 MB / 417.4 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0578/0.4888, allocations: 60.24 MB / 477.7 MB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.4899, allocations: 0.573 MB / 478.3 MB, free: 5.188 MB / 382.1 MB Notification: Performance of pre-optimization done (n=85): time 3.096e-06/0.4899, allocations: 0 / 478.3 MB, free: 5.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=85): time 0.004133/0.494, allocations: 2.569 MB / 480.8 MB, free: 2.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.4941, allocations: 67.39 kB / 480.9 MB, free: 2.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009162/0.5033, allocations: 5.559 MB / 486.5 MB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000229/0.5035, allocations: 37.52 kB / 486.5 MB, free: 14.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002649/0.5062, allocations: 2.939 MB / 489.4 MB, free: 12.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005173/0.5067, allocations: 301.9 kB / 489.7 MB, free: 12.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.5069, allocations: 32 kB / 489.8 MB, free: 11.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5071, allocations: 365.8 kB / 490.1 MB, free: 11.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009416/0.508, allocations: 423.8 kB / 490.5 MB, free: 11.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.5093, allocations: 1.094 MB / 491.6 MB, free: 9.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.5105, allocations: 0.572 MB / 492.2 MB, free: 9.219 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.5105, allocations: 4 kB / 492.2 MB, free: 9.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004228/0.5147, allocations: 2.245 MB / 494.4 MB, free: 6.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.5148, allocations: 16 kB / 494.5 MB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001974/0.515, allocations: 164.8 kB / 494.6 MB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.362e-05/0.515, allocations: 36 kB / 494.7 MB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.5162, allocations: 368 kB / 495 MB, free: 6.395 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-05/0.5163, allocations: 47.8 kB / 495.1 MB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002525/0.5188, allocations: 204.5 kB / 495.3 MB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/0.519, allocations: 124 kB / 495.4 MB, free: 6.027 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001762/0.5208, allocations: 0.7142 MB / 496.1 MB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/0.5222, allocations: 0.7256 MB / 496.8 MB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006247/0.5285, allocations: 2.242 MB / 499.1 MB, free: 2.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.5285, allocations: 15.06 kB / 499.1 MB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.5285, allocations: 0 / 499.1 MB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.5285, allocations: 7.984 kB / 499.1 MB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008004/0.5366, allocations: 3.647 MB / 0.4909 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000174/0.5368, allocations: 136 kB / 0.4911 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007874/0.5376, allocations: 163.9 kB / 0.4912 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.5376, allocations: 4 kB / 0.4912 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.5377, allocations: 59.98 kB / 0.4913 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.5377, allocations: 4 kB / 0.4913 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5377, allocations: 3.953 kB / 0.4913 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003836/0.5416, allocations: 2.318 MB / 0.4936 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/0.5437, allocations: 0.8083 MB / 0.4944 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/0.545, allocations: 16 kB / 0.4944 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/0.5468, allocations: 47.95 kB / 0.4944 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.547, allocations: 100.6 kB / 0.4945 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.5472, allocations: 70.39 kB / 0.4946 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.006533/0.5537, allocations: 3.563 MB / 0.4981 GB, free: 7.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5537, allocations: 0 / 0.4981 GB, free: 7.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003582/0.5573, allocations: 1.085 MB / 0.4991 GB, free: 6.203 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001893/0.5592, allocations: 1.102 MB / 0.5002 GB, free: 5.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00265/0.5619, allocations: 1.471 MB / 0.5016 GB, free: 3.801 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5619, allocations: 0 / 0.5016 GB, free: 3.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.5631, allocations: 0.7942 MB / 0.5024 GB, free: 2.957 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004046/0.5671, allocations: 0.9303 MB / 0.5033 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.582, allocations: 9.228 MB / 0.5123 GB, free: 8.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/0.5847, allocations: 2.718 MB / 0.515 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003084/0.5878, allocations: 0.6888 MB / 0.5157 GB, free: 5.332 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006937/0.5885, allocations: 283.4 kB / 0.5159 GB, free: 5.055 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5885, allocations: 0 / 0.5159 GB, free: 5.055 MB / 430.1 MB Notification: Performance of Templates: time 0.2586/0.8471, allocations: 50.54 MB / 0.5653 GB, free: 153.9 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/FourInverters/FourInverters.csv","../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.FourInverters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches