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.009338/0.009338, allocations: 107.9 kB / 21.97 MB, free: 5.184 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.001817/0.001817, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.443/1.443, allocations: 230.6 MB / 259 MB, free: 8.039 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.002054/0.002054, allocations: 63.91 kB / 379.8 MB, free: 2.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2757, allocations: 53.36 MB / 433.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01544/0.2911, allocations: 14.25 MB / 447.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02821/0.3193, allocations: 20.42 MB / 467.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003119/0.3225, allocations: 197.8 kB / 468 MB, free: 3.992 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003563/0.326, allocations: 1.127 MB / 469.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008131/0.3342, allocations: 2.339 MB / 471.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005069/0.3392, allocations: 1.457 MB / 472.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01155/0.3508, allocations: 6.544 MB / 479.5 MB, free: 8.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007561/0.3515, allocations: 249 kB / 479.7 MB, free: 8.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.3537, allocations: 1.132 MB / 480.9 MB, free: 7.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.3556, allocations: 1.087 MB / 481.9 MB, free: 5.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.3559, allocations: 76 kB / 482 MB, free: 5.898 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004554/0.3604, allocations: 1.49 MB / 483.5 MB, free: 4.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005216/0.3609, allocations: 317.7 kB / 483.8 MB, free: 4.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002066/0.363, allocations: 1.32 MB / 485.1 MB, free: 2.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007164/0.3702, allocations: 3.71 MB / 488.9 MB, free: 15.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.3702, allocations: 0 / 488.9 MB, free: 15.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3702, allocations: 0 / 488.9 MB, free: 15.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001057/0.3703, allocations: 0 / 488.9 MB, free: 15.04 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.006412/0.3767, allocations: 3.61 MB / 492.5 MB, free: 11.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.3767, allocations: 12.03 kB / 492.5 MB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006113/0.3774, allocations: 393.5 kB / 492.9 MB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004581/0.3819, allocations: 2.386 MB / 495.2 MB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.382, allocations: 33 kB / 495.3 MB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.3821, allocations: 48 kB / 495.3 MB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.3837, allocations: 0.7577 MB / 496.1 MB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3838, allocations: 4 kB / 496.1 MB, free: 7.645 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.925e-05/0.3838, allocations: 23.94 kB / 496.1 MB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.3838, allocations: 19.98 kB / 496.1 MB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.3857, allocations: 0.8592 MB / 497 MB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005677/0.3914, allocations: 2.915 MB / 499.9 MB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.3931, allocations: 0.7285 MB / 0.4889 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.3947, allocations: 0.8713 MB / 0.4897 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02639/0.4211, allocations: 13.75 MB / 0.5032 GB, free: 4.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001236/0.4223, allocations: 0.5996 MB / 0.5038 GB, free: 3.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.289e-06/0.4223, allocations: 0 / 0.5038 GB, free: 3.414 MB / 414.1 MB Notification: Performance of matching and sorting (n=99): time 0.01289/0.4352, allocations: 4.521 MB / 0.5082 GB, free: 14.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.4353, allocations: 68.41 kB / 0.5082 GB, free: 14.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003817/0.4391, allocations: 2.7 MB / 0.5109 GB, free: 12.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.4393, allocations: 41.7 kB / 0.5109 GB, free: 11.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.4405, allocations: 1.308 MB / 0.5122 GB, free: 10.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.441, allocations: 345.1 kB / 0.5125 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003937/0.4413, allocations: 238.4 kB / 0.5128 GB, free: 10.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4415, allocations: 349.9 kB / 0.5131 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.4428, allocations: 474 kB / 0.5135 GB, free: 9.285 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.4442, allocations: 0.6548 MB / 0.5142 GB, free: 8.566 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002611/0.4468, allocations: 1.126 MB / 0.5153 GB, free: 7.379 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4468, allocations: 0 / 0.5153 GB, free: 7.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004349/0.4512, allocations: 1.84 MB / 0.5171 GB, free: 5.496 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.4512, allocations: 10.97 kB / 0.5171 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001854/0.4514, allocations: 120 kB / 0.5172 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007412/0.4521, allocations: 272.8 kB / 0.5175 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.453, allocations: 195.7 kB / 0.5176 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.4637, allocations: 13.22 MB / 0.5306 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.4653, allocations: 91.95 kB / 0.5306 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.4655, allocations: 56 kB / 0.5307 GB, free: 6.379 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.0009444/0.4664, allocations: 437.5 kB / 0.5311 GB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005859/0.467, allocations: 389.6 kB / 0.5315 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004961/0.472, allocations: 2.052 MB / 0.5335 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.472, allocations: 8 kB / 0.5335 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.472, allocations: 7.938 kB / 0.5335 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.472, allocations: 3.984 kB / 0.5335 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.4743, allocations: 1.515 MB / 0.535 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001845/0.4745, allocations: 116 kB / 0.5351 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/0.4752, allocations: 135.8 kB / 0.5352 GB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007023/0.4759, allocations: 268.3 kB / 0.5355 GB, free: 1.348 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.476, allocations: 43.98 kB / 0.5355 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2277/0.7037, allocations: 13.21 MB / 0.5484 GB, free: 92.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7037, allocations: 3.938 kB / 0.5484 GB, free: 92.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004993/0.7087, allocations: 2.413 MB / 0.5508 GB, free: 91.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009307/0.7096, allocations: 435.1 kB / 0.5512 GB, free: 91.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/0.7099, allocations: 24.58 kB / 0.5512 GB, free: 91.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009582/0.7109, allocations: 79.89 kB / 0.5513 GB, free: 91.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000423/0.7113, allocations: 149 kB / 0.5514 GB, free: 91.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.7114, allocations: 47.94 kB / 0.5515 GB, free: 91.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002404/0.7138, allocations: 1.776 MB / 0.5532 GB, free: 90.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.7138, allocations: 3.438 kB / 0.5532 GB, free: 90.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001825/0.7156, allocations: 0.6537 MB / 0.5539 GB, free: 90.66 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.001048/0.7167, allocations: 0.8059 MB / 0.5547 GB, free: 90.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003409/0.7201, allocations: 2.452 MB / 0.5571 GB, free: 88.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.7201, allocations: 0 / 0.5571 GB, free: 88.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.722, allocations: 1.902 MB / 0.5589 GB, free: 87.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/0.7243, allocations: 0.6171 MB / 0.5595 GB, free: 87.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005999/0.7303, allocations: 4.826 MB / 0.5642 GB, free: 84.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/0.731, allocations: 1.66 MB / 0.5658 GB, free: 83.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/0.7315, allocations: 167.4 kB / 0.566 GB, free: 83.22 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7315, allocations: 0 / 0.566 GB, free: 83.22 MB / 446.1 MB Notification: Performance of Templates: time 0.1317/0.8631, allocations: 154.4 MB / 0.7168 GB, free: 8.797 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Spice3/Examples/Nor/Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.775118213845417]