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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008932/0.0008932, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008912/0.0008912, allocations: 156.5 kB / 25.44 MB, free: 8.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9043/0.9043, allocations: 158.6 MB / 187.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.06e-05, allocations: 2.281 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.0087/0.00872, allocations: 12.3 MB / 312 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.02604, allocations: 17.13 MB / 329.1 MB, free: 9.367 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.02896, allocations: 138.5 kB / 329.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002891/0.03185, allocations: 1.133 MB / 330.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005819/0.03767, allocations: 2.451 MB / 332.8 MB, free: 5.621 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.04139, allocations: 1.386 MB / 334.2 MB, free: 4.227 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00643/0.04782, allocations: 6.686 MB / 340.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.04828, allocations: 266.3 kB / 341.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.04945, allocations: 1.469 MB / 342.6 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.0501, allocations: 0.7863 MB / 343.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.863e-05/0.0502, allocations: 76 kB / 343.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.05247, allocations: 1.089 MB / 344.6 MB, free: 9.801 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.05267, allocations: 337.5 kB / 344.9 MB, free: 9.469 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006424/0.05331, allocations: 0.7748 MB / 345.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003702/0.05701, allocations: 3.982 MB / 349.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.05702, allocations: 0 / 349.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.05702, allocations: 0 / 349.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.898e-05/0.05705, allocations: 0 / 349.7 MB, free: 4.695 MB / 330.7 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.003442/0.06049, allocations: 3.863 MB / 353.5 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.06054, allocations: 15.92 kB / 353.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003172/0.06086, allocations: 437.2 kB / 354 MB, free: 336 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1505/0.2114, allocations: 2.368 MB / 356.4 MB, free: 61.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.2114, allocations: 37.84 kB / 356.4 MB, free: 61.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/0.2115, allocations: 53.98 kB / 356.4 MB, free: 61.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009249/0.2124, allocations: 0.7376 MB / 357.2 MB, free: 61.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.2124, allocations: 0 / 357.2 MB, free: 61.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.435e-05/0.2125, allocations: 22.17 kB / 357.2 MB, free: 61.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.2125, allocations: 18.53 kB / 357.2 MB, free: 61.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009497/0.2134, allocations: 0.8252 MB / 358 MB, free: 61.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003084/0.2165, allocations: 2.799 MB / 360.8 MB, free: 59.91 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.2172, allocations: 0.5155 MB / 361.4 MB, free: 59.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005831/0.2178, allocations: 0.5737 MB / 361.9 MB, free: 59.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01267/0.2305, allocations: 13.76 MB / 375.7 MB, free: 49.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003925/0.2309, allocations: 369.5 kB / 376 MB, free: 49.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 1.633e-06/0.2309, allocations: 0 / 376 MB, free: 49.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.001095/0.232, allocations: 1.128 MB / 377.2 MB, free: 47.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.232, allocations: 65.61 kB / 377.2 MB, free: 47.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.2338, allocations: 3.127 MB / 380.4 MB, free: 44.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.2339, allocations: 41.69 kB / 380.4 MB, free: 44.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/0.2344, allocations: 1.576 MB / 382 MB, free: 43.2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.2345, allocations: 174.9 kB / 382.2 MB, free: 43.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.2347, allocations: 222.4 kB / 382.4 MB, free: 42.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.2347, allocations: 345.9 kB / 382.7 MB, free: 42.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.235, allocations: 245.5 kB / 383 MB, free: 42.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.2353, allocations: 0.6057 MB / 383.6 MB, free: 41.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.236, allocations: 0.8941 MB / 384.5 MB, free: 40.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.236, allocations: 4 kB / 384.5 MB, free: 40.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0009756/0.237, allocations: 1.281 MB / 385.7 MB, free: 39.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.237, allocations: 8 kB / 385.7 MB, free: 39.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.904e-05/0.2371, allocations: 80 kB / 385.8 MB, free: 39.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.2371, allocations: 20 kB / 385.8 MB, free: 39.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.2374, allocations: 207.2 kB / 386 MB, free: 38.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.2374, allocations: 23.92 kB / 386.1 MB, free: 38.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/0.2379, allocations: 113.4 kB / 386.2 MB, free: 38.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.2379, allocations: 64 kB / 386.2 MB, free: 38.67 MB / 330.7 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.0003885/0.2383, allocations: 453.7 kB / 386.7 MB, free: 38.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.2385, allocations: 429.3 kB / 387.1 MB, free: 37.81 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.2398, allocations: 1.217 MB / 388.3 MB, free: 36.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.2398, allocations: 4 kB / 388.3 MB, free: 36.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2398, allocations: 3.984 kB / 388.3 MB, free: 36.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2398, allocations: 0 / 388.3 MB, free: 36.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/0.2415, allocations: 1.992 MB / 390.3 MB, free: 34.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.911e-05/0.2416, allocations: 68 kB / 390.4 MB, free: 34.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.2418, allocations: 91.92 kB / 390.5 MB, free: 34.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.2418, allocations: 0 / 390.5 MB, free: 34.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.2418, allocations: 39.98 kB / 390.5 MB, free: 34.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2418, allocations: 8 kB / 390.5 MB, free: 34.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2418, allocations: 3.094 kB / 390.5 MB, free: 34.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.2429, allocations: 1.344 MB / 391.9 MB, free: 33.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.2433, allocations: 439.3 kB / 392.3 MB, free: 32.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/0.2434, allocations: 12 kB / 392.3 MB, free: 32.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003537/0.2438, allocations: 27.97 kB / 392.3 MB, free: 32.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.2439, allocations: 63.92 kB / 392.4 MB, free: 32.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.431e-05/0.2439, allocations: 43.88 kB / 392.4 MB, free: 32.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001289/0.2452, allocations: 2.019 MB / 394.5 MB, free: 30.44 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2452, allocations: 8.062 kB / 394.5 MB, free: 30.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007415/0.2459, allocations: 0.6037 MB / 395.1 MB, free: 29.85 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.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 (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006967/0.2466, allocations: 0.8295 MB / 395.9 MB, free: 29.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007423/0.2474, allocations: 0.7713 MB / 396.7 MB, free: 28.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2474, allocations: 11.92 kB / 396.7 MB, free: 28.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003461/0.2477, allocations: 423 kB / 397.1 MB, free: 27.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.2487, allocations: 0.5405 MB / 397.6 MB, free: 27.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/0.252, allocations: 4.593 MB / 402.2 MB, free: 22.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.2525, allocations: 1.17 MB / 403.4 MB, free: 21.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.2527, allocations: 164.4 kB / 403.6 MB, free: 21.27 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.2527, allocations: 0 / 403.6 MB, free: 21.27 MB / 330.7 MB Notification: Performance of Templates: time 0.03191/0.2846, allocations: 40.57 MB / 444.1 MB, free: 12.67 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/InvertersExtendedModel/InvertersExtendedModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.213193114846945]