Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001466/0.001466, allocations: 111.8 kB / 19.17 MB, free: 3.883 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.001595/0.001595, allocations: 204.9 kB / 22.13 MB, free: 0.9336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.399/1.399, allocations: 230.4 MB / 255.4 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 59.84 kB / 374.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.09534, allocations: 53.32 MB / 428 MB, free: 4.371 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.1869/0.2822, allocations: 14.24 MB / 442.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02471/0.307, allocations: 20.4 MB / 462.7 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.3101, allocations: 129.2 kB / 462.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003639/0.3137, allocations: 1.134 MB / 463.9 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009295/0.323, allocations: 2.307 MB / 466.2 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005672/0.3287, allocations: 1.444 MB / 467.7 MB, free: 1.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01178/0.3405, allocations: 6.519 MB / 474.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007732/0.3413, allocations: 252.9 kB / 474.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.3435, allocations: 1.099 MB / 475.6 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002031/0.3455, allocations: 1.078 MB / 476.6 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000256/0.3458, allocations: 74.72 kB / 476.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0049/0.3507, allocations: 1.485 MB / 478.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004609/0.3511, allocations: 320.1 kB / 478.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001952/0.3531, allocations: 1.328 MB / 479.8 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007248/0.3603, allocations: 3.702 MB / 483.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3603, allocations: 0 / 483.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3603, allocations: 3.938 kB / 483.5 MB, free: 9.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001043/0.3605, allocations: 0 / 483.5 MB, free: 9.047 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.006356/0.3668, allocations: 3.689 MB / 487.2 MB, free: 5.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3669, allocations: 12.03 kB / 487.2 MB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004747/0.3673, allocations: 397.5 kB / 487.6 MB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003959/0.3713, allocations: 2.551 MB / 490.2 MB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.3713, allocations: 40.98 kB / 490.2 MB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.3715, allocations: 48 kB / 490.3 MB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.373, allocations: 0.7576 MB / 491 MB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.3731, allocations: 0 / 491 MB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.979e-05/0.3731, allocations: 20 kB / 491 MB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.3732, allocations: 23.92 kB / 491.1 MB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/0.375, allocations: 0.8514 MB / 491.9 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00534/0.3803, allocations: 2.978 MB / 494.9 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.3821, allocations: 0.7168 MB / 495.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.3836, allocations: 0.8627 MB / 496.5 MB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03225/0.4158, allocations: 30.7 MB / 0.5148 GB, free: 8.922 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001231/0.4171, allocations: 0.5879 MB / 0.5154 GB, free: 8.324 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.035e-06/0.4171, allocations: 0 / 0.5154 GB, free: 8.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=99): time 0.01298/0.43, allocations: 5.271 MB / 0.5205 GB, free: 2.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.4301, allocations: 68.39 kB / 0.5206 GB, free: 2.727 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003441/0.4335, allocations: 2.7 MB / 0.5232 GB, free: 12 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.4337, allocations: 45.64 kB / 0.5233 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.4349, allocations: 1.308 MB / 0.5246 GB, free: 14.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003524/0.4353, allocations: 345 kB / 0.5249 GB, free: 14.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.4356, allocations: 242.4 kB / 0.5251 GB, free: 14.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4358, allocations: 341.9 kB / 0.5254 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.4371, allocations: 478 kB / 0.5259 GB, free: 13.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.4385, allocations: 0.647 MB / 0.5265 GB, free: 12.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/0.4412, allocations: 1.133 MB / 0.5276 GB, free: 11.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4412, allocations: 0 / 0.5276 GB, free: 11.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004399/0.4456, allocations: 1.982 MB / 0.5296 GB, free: 9.293 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.4456, allocations: 15.92 kB / 0.5296 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/0.4458, allocations: 112 kB / 0.5297 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007428/0.4465, allocations: 272.8 kB / 0.53 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009102/0.4474, allocations: 195.6 kB / 0.5301 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/0.4583, allocations: 14.24 MB / 0.5441 GB, free: 9.062 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.46, allocations: 95.89 kB / 0.5441 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.4601, allocations: 56 kB / 0.5442 GB, free: 8.918 MB / 462.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.000859/0.461, allocations: 430 kB / 0.5446 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004987/0.4615, allocations: 389.8 kB / 0.545 GB, free: 8.105 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005069/0.4665, allocations: 2.213 MB / 0.5471 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.4666, allocations: 8 kB / 0.5471 GB, free: 5.805 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4666, allocations: 4 kB / 0.5472 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.4666, allocations: 11.92 kB / 0.5472 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.4688, allocations: 1.539 MB / 0.5487 GB, free: 4.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001603/0.469, allocations: 116 kB / 0.5488 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/0.4697, allocations: 139.8 kB / 0.5489 GB, free: 3.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006847/0.4704, allocations: 260.3 kB / 0.5492 GB, free: 3.664 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.4705, allocations: 39.98 kB / 0.5492 GB, free: 3.625 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/0.4812, allocations: 14.25 MB / 0.5631 GB, free: 3.973 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4812, allocations: 0 / 0.5631 GB, free: 3.973 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/0.4869, allocations: 2.557 MB / 0.5656 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.488, allocations: 0.5024 MB / 0.5661 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/0.4883, allocations: 20 kB / 0.5661 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009742/0.4893, allocations: 83.89 kB / 0.5662 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003701/0.4897, allocations: 140.8 kB / 0.5663 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000106/0.4898, allocations: 47.98 kB / 0.5664 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002608/0.4924, allocations: 1.774 MB / 0.5681 GB, free: 14.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4924, allocations: 0 / 0.5681 GB, free: 14.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001946/0.4943, allocations: 0.6595 MB / 0.5688 GB, free: 14.07 MB / 494.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.001391/0.4957, allocations: 0.8135 MB / 0.5696 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004349/0.5001, allocations: 2.444 MB / 0.5719 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5001, allocations: 4.062 kB / 0.5719 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002766/0.5028, allocations: 1.897 MB / 0.5738 GB, free: 8.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/0.5057, allocations: 0.6321 MB / 0.5744 GB, free: 7.965 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.5134, allocations: 4.83 MB / 0.5791 GB, free: 3.09 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.5147, allocations: 1.658 MB / 0.5807 GB, free: 1.406 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/0.5152, allocations: 175.4 kB / 0.5809 GB, free: 1.234 MB / 494.1 MB Notification: Performance of SimCode: time 1.001e-06/0.5152, allocations: 0 / 0.5809 GB, free: 1.234 MB / 494.1 MB Notification: Performance of Templates: time 0.2958/0.811, allocations: 154.4 MB / 0.7317 GB, free: 69.82 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Nor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Nor/Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 13.889715431956574]