Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 120.4 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001232, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Spice3.Examples.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 47.92 kB / 358.7 MB, free: 8.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.08784, allocations: 49.44 MB / 408.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01357/0.1014, allocations: 14.17 MB / 422.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2095/0.311, allocations: 20.31 MB / 442.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003459/0.3145, allocations: 127.3 kB / 442.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004678/0.3192, allocations: 1.12 MB / 443.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.3304, allocations: 2.275 MB / 446.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007322/0.3378, allocations: 1.449 MB / 447.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0129/0.3507, allocations: 6.417 MB / 454 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009329/0.3517, allocations: 436.2 kB / 454.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002524/0.3542, allocations: 1.064 MB / 455.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.3563, allocations: 1.087 MB / 456.5 MB, free: 264 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002585/0.3566, allocations: 74.97 kB / 456.6 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005432/0.362, allocations: 1.477 MB / 458.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003149/0.3624, allocations: 318.7 kB / 458.4 MB, free: 60 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.3641, allocations: 1.319 MB / 459.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00608/0.3702, allocations: 3.708 MB / 463.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3703, allocations: 0 / 463.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3703, allocations: 0 / 463.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.844e-05/0.3704, allocations: 1.188 kB / 463.4 MB, free: 14.5 MB / 366.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.00618/0.3765, allocations: 3.686 MB / 467.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3766, allocations: 13.62 kB / 467.1 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004981/0.3771, allocations: 397.3 kB / 467.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003646/0.3807, allocations: 2.552 MB / 470.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.3808, allocations: 34.77 kB / 470.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.3809, allocations: 53.36 kB / 470.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.3824, allocations: 0.7625 MB / 470.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3824, allocations: 0 / 470.9 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.428e-05/0.3825, allocations: 16.62 kB / 470.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.3826, allocations: 24.83 kB / 471 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.3843, allocations: 0.8541 MB / 471.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006068/0.3904, allocations: 2.976 MB / 474.8 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.3923, allocations: 0.7916 MB / 475.6 MB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.394, allocations: 0.9566 MB / 476.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03462/0.4287, allocations: 30.06 MB / 0.4947 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/0.4299, allocations: 0.5919 MB / 0.4953 GB, free: 1.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 2.675e-06/0.43, allocations: 4 kB / 0.4953 GB, free: 1.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=99): time 0.0133/0.4433, allocations: 5.286 MB / 0.5005 GB, free: 12.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.4434, allocations: 70.5 kB / 0.5005 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003522/0.4469, allocations: 2.704 MB / 0.5032 GB, free: 9.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.673e-05/0.447, allocations: 41.7 kB / 0.5032 GB, free: 9.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001256/0.4483, allocations: 1.3 MB / 0.5045 GB, free: 8.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.4486, allocations: 346.1 kB / 0.5048 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003852/0.449, allocations: 242.4 kB / 0.505 GB, free: 7.652 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4491, allocations: 349.9 kB / 0.5054 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.4505, allocations: 474.6 kB / 0.5058 GB, free: 6.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.452, allocations: 0.6509 MB / 0.5065 GB, free: 6.125 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002783/0.4548, allocations: 1.13 MB / 0.5076 GB, free: 4.934 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4548, allocations: 0 / 0.5076 GB, free: 4.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004491/0.4593, allocations: 1.986 MB / 0.5095 GB, free: 2.871 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.4594, allocations: 8 kB / 0.5095 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001694/0.4595, allocations: 119.9 kB / 0.5096 GB, free: 2.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007656/0.4603, allocations: 276.8 kB / 0.5099 GB, free: 2.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009244/0.4612, allocations: 191.7 kB / 0.5101 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01265/0.4739, allocations: 14.26 MB / 0.524 GB, free: 2.621 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/0.476, allocations: 91.95 kB / 0.5241 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/0.4762, allocations: 56 kB / 0.5241 GB, free: 2.477 MB / 430.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.0009585/0.4771, allocations: 426.2 kB / 0.5245 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007359/0.4779, allocations: 389.5 kB / 0.5249 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005508/0.4834, allocations: 2.223 MB / 0.5271 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.4834, allocations: 8 kB / 0.5271 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.4835, allocations: 8 kB / 0.5271 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.4835, allocations: 3.984 kB / 0.5271 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.4862, allocations: 1.541 MB / 0.5286 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001701/0.4864, allocations: 124 kB / 0.5287 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007611/0.4872, allocations: 131.8 kB / 0.5289 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007516/0.4879, allocations: 260.3 kB / 0.5291 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.4881, allocations: 51.92 kB / 0.5291 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01238/0.5005, allocations: 14.24 MB / 0.5431 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5005, allocations: 0 / 0.5431 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006794/0.5073, allocations: 2.567 MB / 0.5456 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/0.5091, allocations: 0.5024 MB / 0.5461 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007044/0.5098, allocations: 24 kB / 0.5461 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.5115, allocations: 79.89 kB / 0.5462 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005468/0.512, allocations: 140.8 kB / 0.5463 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/0.5122, allocations: 47.98 kB / 0.5463 GB, free: 10.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002767/0.515, allocations: 1.77 MB / 0.5481 GB, free: 8.312 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.515, allocations: 4 kB / 0.5481 GB, free: 8.309 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001926/0.517, allocations: 0.6518 MB / 0.5487 GB, free: 7.656 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.001315/0.5183, allocations: 0.8141 MB / 0.5495 GB, free: 6.984 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004642/0.5229, allocations: 2.518 MB / 0.552 GB, free: 4.312 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.523, allocations: 0 / 0.552 GB, free: 4.312 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002959/0.5259, allocations: 1.956 MB / 0.5539 GB, free: 2.203 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/0.529, allocations: 0.6258 MB / 0.5545 GB, free: 1.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007923/0.5369, allocations: 4.821 MB / 0.5592 GB, free: 12.72 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001407/0.5384, allocations: 1.658 MB / 0.5608 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000513/0.5389, allocations: 175.4 kB / 0.561 GB, free: 10.86 MB / 478.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5389, allocations: 0 / 0.561 GB, free: 10.86 MB / 478.1 MB Notification: Performance of Templates: time 0.3024/0.8413, allocations: 154.2 MB / 0.7116 GB, free: 107 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Spice3/Examples/Nor/Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 15.305276066996157]