Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 202.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 207.6 MB / 236 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Spice3.Examples.Nor") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 55.91 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2646, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01139/0.276, allocations: 13.58 MB / 411.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02983/0.3059, allocations: 19.45 MB / 430.6 MB, free: 176 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00345/0.3093, allocations: 197.2 kB / 430.8 MB, free: 32 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003923/0.3132, allocations: 1.096 MB / 431.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009907/0.3232, allocations: 2.305 MB / 434.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006158/0.3293, allocations: 1.403 MB / 435.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0126/0.3419, allocations: 6.326 MB / 442 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008538/0.3428, allocations: 261.1 kB / 442.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.3448, allocations: 1.034 MB / 443.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.3468, allocations: 1.068 MB / 444.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003739/0.3472, allocations: 72 kB / 444.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005398/0.3526, allocations: 1.163 MB / 445.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006067/0.3532, allocations: 325.7 kB / 445.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002394/0.3556, allocations: 1.324 MB / 447.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008847/0.3645, allocations: 3.737 MB / 450.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.3645, allocations: 3.984 kB / 450.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3645, allocations: 0 / 450.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001618/0.3646, allocations: 0 / 450.9 MB, free: 13.85 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.00825/0.3729, allocations: 3.629 MB / 454.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.3729, allocations: 15.98 kB / 454.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008856/0.3738, allocations: 401.5 kB / 455 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005791/0.3796, allocations: 2.402 MB / 457.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.3797, allocations: 36.94 kB / 457.4 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.38, allocations: 47.98 kB / 457.5 MB, free: 7.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.3822, allocations: 0.7655 MB / 458.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.3822, allocations: 0 / 458.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.324e-05/0.3823, allocations: 16 kB / 458.2 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.3824, allocations: 19.98 kB / 458.3 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.3843, allocations: 0.8592 MB / 459.1 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006467/0.3908, allocations: 2.931 MB / 462 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.3927, allocations: 0.7246 MB / 462.8 MB, free: 1.785 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.3943, allocations: 0.8667 MB / 463.6 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02917/0.4234, allocations: 13.78 MB / 477.4 MB, free: 2.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001395/0.4248, allocations: 0.5879 MB / 478 MB, free: 2.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.897e-06/0.4248, allocations: 8 kB / 478 MB, free: 2.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=99): time 0.01346/0.4383, allocations: 4.525 MB / 482.5 MB, free: 13.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.4384, allocations: 68.39 kB / 482.6 MB, free: 13.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004374/0.4427, allocations: 2.713 MB / 485.3 MB, free: 10.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002128/0.4429, allocations: 45.69 kB / 485.4 MB, free: 10.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.4443, allocations: 1.304 MB / 486.7 MB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004925/0.4448, allocations: 364.8 kB / 487 MB, free: 9.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005259/0.4453, allocations: 238.4 kB / 487.3 MB, free: 8.793 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4455, allocations: 345.9 kB / 487.6 MB, free: 8.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.4469, allocations: 474 kB / 488.1 MB, free: 7.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.4483, allocations: 0.6431 MB / 488.7 MB, free: 7.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002743/0.4511, allocations: 1.133 MB / 489.8 MB, free: 6.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4511, allocations: 4 kB / 489.8 MB, free: 6.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004481/0.4556, allocations: 1.831 MB / 491.7 MB, free: 4.207 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.4556, allocations: 11.94 kB / 491.7 MB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/0.4558, allocations: 120 kB / 491.8 MB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007692/0.4566, allocations: 268.9 kB / 492.1 MB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009118/0.4575, allocations: 191.7 kB / 492.2 MB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.4687, allocations: 13.23 MB / 0.4936 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.4702, allocations: 95.95 kB / 0.4937 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/0.4705, allocations: 56 kB / 0.4938 GB, free: 5.074 MB / 414.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.001068/0.4715, allocations: 426.2 kB / 0.4942 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007115/0.4722, allocations: 393.5 kB / 0.4946 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005516/0.4778, allocations: 2.064 MB / 0.4966 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.4778, allocations: 8 kB / 0.4966 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.4778, allocations: 8 kB / 0.4966 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.4778, allocations: 3.984 kB / 0.4966 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.4804, allocations: 1.527 MB / 0.4981 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001794/0.4806, allocations: 123.9 kB / 0.4982 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007624/0.4814, allocations: 135.8 kB / 0.4983 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007151/0.4821, allocations: 260.3 kB / 0.4986 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/0.4822, allocations: 44.03 kB / 0.4986 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.493, allocations: 13.22 MB / 0.5115 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.493, allocations: 3.984 kB / 0.5115 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006092/0.4991, allocations: 2.414 MB / 0.5139 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001415/0.5006, allocations: 443.3 kB / 0.5143 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006939/0.5012, allocations: 27.92 kB / 0.5143 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.5026, allocations: 75.89 kB / 0.5144 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004445/0.503, allocations: 144.8 kB / 0.5145 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.5031, allocations: 51.98 kB / 0.5146 GB, free: 14.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003417/0.5066, allocations: 1.778 MB / 0.5163 GB, free: 12.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5066, allocations: 0 / 0.5163 GB, free: 12.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002587/0.5091, allocations: 0.6635 MB / 0.517 GB, free: 11.97 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.001784/0.5109, allocations: 0.8154 MB / 0.5178 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005072/0.516, allocations: 2.448 MB / 0.5202 GB, free: 8.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.516, allocations: 0 / 0.5202 GB, free: 8.547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003161/0.5192, allocations: 1.902 MB / 0.522 GB, free: 6.492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/0.5218, allocations: 0.5168 MB / 0.5225 GB, free: 5.969 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008699/0.5305, allocations: 4.85 MB / 0.5273 GB, free: 1.066 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001602/0.5321, allocations: 1.662 MB / 0.5289 GB, free: 15.37 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/0.5327, allocations: 171.4 kB / 0.5291 GB, free: 15.21 MB / 462.1 MB Notification: Performance of SimCode: time 1.723e-06/0.5327, allocations: 0 / 0.5291 GB, free: 15.21 MB / 462.1 MB Notification: Performance of Templates: time 0.3172/0.8499, allocations: 155.4 MB / 0.6808 GB, free: 39.92 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Spice3/Examples/Nor/Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.789142817026004]