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.001706/0.001706, allocations: 116.1 kB / 21.18 MB, free: 0.5898 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.002094/0.002094, allocations: 209.9 kB / 24.47 MB, free: 3.996 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.389/1.389, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.001895/0.001895, allocations: 72.08 kB / 378.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2305, allocations: 53.31 MB / 432 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01456/0.245, allocations: 14.25 MB / 446.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02553/0.2706, allocations: 20.42 MB / 466.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003111/0.2737, allocations: 122.9 kB / 466.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003642/0.2773, allocations: 1.126 MB / 467.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007922/0.2853, allocations: 2.338 MB / 470.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004972/0.2902, allocations: 1.46 MB / 471.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.3014, allocations: 6.523 MB / 478.3 MB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007934/0.3022, allocations: 256.5 kB / 478.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.3042, allocations: 1.089 MB / 479.6 MB, free: 7.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.3058, allocations: 1.083 MB / 480.7 MB, free: 6.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.3061, allocations: 76 kB / 480.8 MB, free: 6.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.3103, allocations: 1.483 MB / 482.2 MB, free: 4.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005849/0.3109, allocations: 325.7 kB / 482.6 MB, free: 4.574 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001834/0.3127, allocations: 1.316 MB / 483.9 MB, free: 3.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006633/0.3194, allocations: 3.71 MB / 487.6 MB, free: 15.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3194, allocations: 0 / 487.6 MB, free: 15.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3194, allocations: 0 / 487.6 MB, free: 15.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001103/0.3195, allocations: 4 kB / 487.6 MB, free: 15.52 MB / 398.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.00673/0.3262, allocations: 3.689 MB / 491.3 MB, free: 11.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3262, allocations: 12.03 kB / 491.3 MB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006404/0.3269, allocations: 397.5 kB / 491.7 MB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00455/0.3314, allocations: 2.555 MB / 494.2 MB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.3315, allocations: 36.94 kB / 494.3 MB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.3317, allocations: 51.98 kB / 494.3 MB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.3333, allocations: 0.7538 MB / 495.1 MB, free: 7.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.3333, allocations: 3.984 kB / 495.1 MB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/0.3334, allocations: 16 kB / 495.1 MB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.3334, allocations: 23.98 kB / 495.1 MB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.3353, allocations: 0.8514 MB / 496 MB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005665/0.3409, allocations: 2.982 MB / 499 MB, free: 3.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.3427, allocations: 0.7246 MB / 499.7 MB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.3442, allocations: 0.8555 MB / 0.4888 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03561/0.3798, allocations: 30.69 MB / 0.5188 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001254/0.3811, allocations: 0.5996 MB / 0.5194 GB, free: 14.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.697e-06/0.3811, allocations: 0 / 0.5194 GB, free: 14.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=99): time 0.0132/0.3943, allocations: 5.266 MB / 0.5245 GB, free: 9.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.3943, allocations: 72.39 kB / 0.5246 GB, free: 9.188 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003572/0.3979, allocations: 2.696 MB / 0.5272 GB, free: 6.477 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.3981, allocations: 41.7 kB / 0.5272 GB, free: 6.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.3993, allocations: 1.312 MB / 0.5285 GB, free: 5.113 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.3997, allocations: 345.1 kB / 0.5289 GB, free: 4.773 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000373/0.4, allocations: 238.4 kB / 0.5291 GB, free: 4.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4002, allocations: 341.9 kB / 0.5294 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.4015, allocations: 474 kB / 0.5299 GB, free: 3.734 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001426/0.4029, allocations: 0.6548 MB / 0.5305 GB, free: 3.012 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/0.4055, allocations: 1.126 MB / 0.5316 GB, free: 1.824 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4055, allocations: 0 / 0.5316 GB, free: 1.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004324/0.4099, allocations: 1.981 MB / 0.5335 GB, free: 15.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.4099, allocations: 16.41 kB / 0.5335 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001964/0.4101, allocations: 120 kB / 0.5337 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007193/0.4108, allocations: 272.3 kB / 0.5339 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000901/0.4117, allocations: 199.7 kB / 0.5341 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1972/0.6089, allocations: 14.25 MB / 0.548 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.6104, allocations: 88.08 kB / 0.5481 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/0.6106, allocations: 60.38 kB / 0.5482 GB, free: 118.4 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.0007691/0.6113, allocations: 425 kB / 0.5486 GB, free: 118.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000487/0.6118, allocations: 394.3 kB / 0.5489 GB, free: 118.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/0.6163, allocations: 2.211 MB / 0.5511 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.6163, allocations: 9.062 kB / 0.5511 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.6164, allocations: 4.406 kB / 0.5511 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.6164, allocations: 4.406 kB / 0.5511 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.618, allocations: 1.543 MB / 0.5526 GB, free: 117.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001252/0.6182, allocations: 115.4 kB / 0.5527 GB, free: 117.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006832/0.6189, allocations: 137.8 kB / 0.5529 GB, free: 117.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005365/0.6194, allocations: 260.5 kB / 0.5531 GB, free: 117.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.632e-05/0.6195, allocations: 42.86 kB / 0.5532 GB, free: 117.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00598/0.6254, allocations: 14.25 MB / 0.5671 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6254, allocations: 3.938 kB / 0.5671 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004635/0.6301, allocations: 2.555 MB / 0.5696 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000844/0.6309, allocations: 0.5079 MB / 0.5701 GB, free: 102.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/0.6312, allocations: 15.94 kB / 0.5701 GB, free: 102.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009095/0.6321, allocations: 86.12 kB / 0.5702 GB, free: 102.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002975/0.6324, allocations: 140.7 kB / 0.5703 GB, free: 102.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.248e-05/0.6325, allocations: 52.83 kB / 0.5704 GB, free: 102.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001898/0.6344, allocations: 1.772 MB / 0.5721 GB, free: 101.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.6344, allocations: 0 / 0.5721 GB, free: 101.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001233/0.6356, allocations: 0.6534 MB / 0.5727 GB, free: 101.5 MB / 462.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.0009771/0.6366, allocations: 0.8295 MB / 0.5735 GB, free: 101.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003332/0.64, allocations: 2.448 MB / 0.5759 GB, free: 99.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.64, allocations: 0 / 0.5759 GB, free: 99.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/0.6419, allocations: 1.904 MB / 0.5778 GB, free: 98.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/0.6441, allocations: 0.6198 MB / 0.5784 GB, free: 97.41 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005279/0.6494, allocations: 4.821 MB / 0.5831 GB, free: 92.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.6501, allocations: 1.665 MB / 0.5847 GB, free: 90.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.6505, allocations: 167.4 kB / 0.5849 GB, free: 90.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6505, allocations: 4 kB / 0.5849 GB, free: 90.71 MB / 462.1 MB Notification: Performance of Templates: time 0.1202/0.7707, allocations: 154.4 MB / 0.7357 GB, free: 148 kB / 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.470883505884558]