Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001698/0.001698, allocations: 216.2 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor") translateModel(Modelica.Electrical.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5012,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 63.91 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2277, allocations: 53.4 MB / 431.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01411/0.2418, allocations: 11.97 MB / 443.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02416/0.266, allocations: 17.58 MB / 461.2 MB, free: 8.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.2679, allocations: 193.8 kB / 461.4 MB, free: 8.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002741/0.2706, allocations: 1.03 MB / 462.4 MB, free: 7.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007943/0.2786, allocations: 2.327 MB / 464.7 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004695/0.2833, allocations: 1.418 MB / 466.1 MB, free: 3.883 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01026/0.2935, allocations: 6.54 MB / 472.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005515/0.2941, allocations: 245 kB / 472.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.2957, allocations: 1.143 MB / 474.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.2971, allocations: 1.04 MB / 475.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000191/0.2973, allocations: 72 kB / 475.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003346/0.3006, allocations: 1.206 MB / 476.4 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.301, allocations: 329.7 kB / 476.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.302, allocations: 0.9741 MB / 477.7 MB, free: 8.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004714/0.3068, allocations: 3.737 MB / 481.4 MB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3068, allocations: 0 / 481.4 MB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.3068, allocations: 7.938 kB / 481.4 MB, free: 4.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.635e-05/0.3068, allocations: 0 / 481.4 MB, free: 4.508 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.005624/0.3124, allocations: 3.61 MB / 485 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3125, allocations: 11.98 kB / 485 MB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004436/0.3129, allocations: 397.5 kB / 485.4 MB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004042/0.317, allocations: 2.386 MB / 487.8 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.317, allocations: 37 kB / 487.8 MB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.3171, allocations: 48 kB / 487.9 MB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/0.3187, allocations: 0.7616 MB / 488.7 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3187, allocations: 0 / 488.7 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-05/0.3188, allocations: 23.98 kB / 488.7 MB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.3188, allocations: 23.98 kB / 488.7 MB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.3207, allocations: 0.8514 MB / 489.6 MB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004941/0.3256, allocations: 2.674 MB / 492.2 MB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.3274, allocations: 0.7214 MB / 492.9 MB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.329, allocations: 0.8637 MB / 493.8 MB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02703/0.356, allocations: 13.68 MB / 0.4956 GB, free: 9.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001232/0.3572, allocations: 0.5918 MB / 0.4962 GB, free: 9.223 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.88e-06/0.3572, allocations: 7.984 kB / 0.4962 GB, free: 9.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=99): time 0.01235/0.3696, allocations: 4.513 MB / 0.5006 GB, free: 4.637 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.3697, allocations: 72.39 kB / 0.5007 GB, free: 4.551 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.373, allocations: 2.696 MB / 0.5033 GB, free: 1.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.271e-05/0.3731, allocations: 41.7 kB / 0.5033 GB, free: 1.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.3743, allocations: 1.312 MB / 0.5046 GB, free: 488 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/0.3747, allocations: 360.9 kB / 0.505 GB, free: 124 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.375, allocations: 234.4 kB / 0.5052 GB, free: 15.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3752, allocations: 345.9 kB / 0.5055 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.3765, allocations: 474 kB / 0.506 GB, free: 15.08 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.3779, allocations: 0.647 MB / 0.5066 GB, free: 14.37 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.3807, allocations: 1.13 MB / 0.5077 GB, free: 13.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3807, allocations: 4 kB / 0.5077 GB, free: 13.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004197/0.3849, allocations: 1.831 MB / 0.5095 GB, free: 11.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3849, allocations: 11.94 kB / 0.5095 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/0.3851, allocations: 123.9 kB / 0.5096 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007071/0.3858, allocations: 264.6 kB / 0.5099 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009064/0.3867, allocations: 199.7 kB / 0.5101 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.3972, allocations: 12.97 MB / 0.5227 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.3986, allocations: 96.08 kB / 0.5228 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.3987, allocations: 60 kB / 0.5229 GB, free: 12.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 21 (v.counter,$PRE.v.counter,vin2.counter,$PRE.vin2.counter,vin1.counter,$PRE.vin1.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,vin2.counter2,$PRE.vin2.counter2,vin2.T0,$PRE.vin2.T0,vin1.counter2,$PRE.vin1.counter2,vin1.T0,$PRE.vin1.T0,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008318/0.3996, allocations: 435.8 kB / 0.5233 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004463/0.4, allocations: 385.6 kB / 0.5237 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/0.405, allocations: 2.052 MB / 0.5257 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.405, allocations: 8 kB / 0.5257 GB, free: 9.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.405, allocations: 8 kB / 0.5257 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.4051, allocations: 3.984 kB / 0.5257 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.4068, allocations: 1.297 MB / 0.527 GB, free: 8.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001776/0.407, allocations: 119.9 kB / 0.5271 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007509/0.4077, allocations: 131.8 kB / 0.5272 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000667/0.4084, allocations: 268.3 kB / 0.5274 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.653e-05/0.4085, allocations: 47.97 kB / 0.5275 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1869/0.5954, allocations: 12.96 MB / 0.5402 GB, free: 99.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.5954, allocations: 6.281 kB / 0.5402 GB, free: 99.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005309/0.6008, allocations: 2.41 MB / 0.5425 GB, free: 99.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/0.6018, allocations: 433.9 kB / 0.5429 GB, free: 99.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/0.6021, allocations: 21.55 kB / 0.5429 GB, free: 99.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009709/0.603, allocations: 82.75 kB / 0.543 GB, free: 99.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003806/0.6034, allocations: 144.7 kB / 0.5432 GB, free: 99.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.6035, allocations: 48.94 kB / 0.5432 GB, free: 99.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002448/0.606, allocations: 1.771 MB / 0.5449 GB, free: 98.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.606, allocations: 0 / 0.5449 GB, free: 98.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001375/0.6074, allocations: 0.6613 MB / 0.5456 GB, free: 98.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (mp1.Dinternal,mp1.Sinternal,mp2.Dinternal,mp2.Sinternal,mn1.Dinternal,mn1.Sinternal,mn2.Dinternal,mn2.Sinternal) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 6 (vin1.counter,vin2.counter,v.counter,vin1.counter2,vin2.counter2,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 9 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001029/0.6084, allocations: 0.8105 MB / 0.5464 GB, free: 98.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00344/0.6118, allocations: 2.451 MB / 0.5488 GB, free: 96.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6118, allocations: 0 / 0.5488 GB, free: 96.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.6138, allocations: 1.902 MB / 0.5506 GB, free: 95.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.6161, allocations: 0.6224 MB / 0.5512 GB, free: 95.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/0.6213, allocations: 4.762 MB / 0.5559 GB, free: 90.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007091/0.622, allocations: 1.103 MB / 0.557 GB, free: 90.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001071/0.6231, allocations: 392.2 kB / 0.5573 GB, free: 89.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.6234, allocations: 170.9 kB / 0.5575 GB, free: 89.68 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6234, allocations: 0 / 0.5575 GB, free: 89.68 MB / 446.1 MB Notification: Performance of Templates: time 0.05476/0.6781, allocations: 42.87 MB / 0.5994 GB, free: 47.47 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Nor/Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.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: 6.224009109660983]