Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001786/0.001786, allocations: 116.9 kB / 19.17 MB, free: 3.91 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.002262/0.002262, allocations: 210.5 kB / 22.13 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.641/1.641, allocations: 230.2 MB / 255.1 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.91 kB / 374.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1025, allocations: 53.32 MB / 427.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01666/0.1191, allocations: 14.24 MB / 442.1 MB, free: 6.219 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2023/0.3214, allocations: 20.4 MB / 462.5 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/0.3244, allocations: 124.7 kB / 462.6 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004385/0.3288, allocations: 1.127 MB / 463.7 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009961/0.3387, allocations: 2.31 MB / 466 MB, free: 5.914 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005257/0.344, allocations: 1.439 MB / 467.5 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01028/0.3543, allocations: 6.525 MB / 474 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005566/0.3548, allocations: 254.5 kB / 474.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.3567, allocations: 1.1 MB / 475.3 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.3581, allocations: 1.076 MB / 476.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002234/0.3584, allocations: 78.55 kB / 476.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004795/0.3632, allocations: 1.482 MB / 478 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004345/0.3636, allocations: 317.9 kB / 478.3 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.3654, allocations: 1.33 MB / 479.6 MB, free: 404 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007396/0.3728, allocations: 3.703 MB / 483.3 MB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3728, allocations: 1.156 kB / 483.3 MB, free: 14.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3728, allocations: 0 / 483.3 MB, free: 14.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.36e-05/0.3729, allocations: 0 / 483.3 MB, free: 14.51 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.007282/0.3802, allocations: 3.69 MB / 487 MB, free: 11.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3802, allocations: 9.406 kB / 487 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006342/0.3809, allocations: 395.5 kB / 487.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004029/0.3849, allocations: 2.554 MB / 489.9 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.3849, allocations: 39.45 kB / 490 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.3851, allocations: 48.91 kB / 490 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.3868, allocations: 0.7617 MB / 490.8 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.3868, allocations: 0 / 490.8 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/0.3869, allocations: 24.12 kB / 490.8 MB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.3869, allocations: 20.11 kB / 490.8 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.3888, allocations: 0.8515 MB / 491.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005676/0.3945, allocations: 2.974 MB / 494.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.3962, allocations: 0.7313 MB / 495.4 MB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.3976, allocations: 0.8539 MB / 496.2 MB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03503/0.4327, allocations: 30.7 MB / 0.5146 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.434, allocations: 0.588 MB / 0.5152 GB, free: 2.664 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.706e-06/0.434, allocations: 0 / 0.5152 GB, free: 2.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=99): time 0.0145/0.4485, allocations: 5.271 MB / 0.5203 GB, free: 13.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.4486, allocations: 68.39 kB / 0.5204 GB, free: 13.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/0.4524, allocations: 2.7 MB / 0.523 GB, free: 10.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.4526, allocations: 41.7 kB / 0.5231 GB, free: 10.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001309/0.4539, allocations: 1.308 MB / 0.5243 GB, free: 8.992 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003967/0.4543, allocations: 353 kB / 0.5247 GB, free: 8.645 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004075/0.4547, allocations: 234.4 kB / 0.5249 GB, free: 8.406 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4549, allocations: 345.9 kB / 0.5252 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.4563, allocations: 478 kB / 0.5257 GB, free: 7.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.4578, allocations: 0.647 MB / 0.5263 GB, free: 6.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/0.4607, allocations: 1.13 MB / 0.5274 GB, free: 5.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4607, allocations: 0 / 0.5274 GB, free: 5.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004756/0.4654, allocations: 1.981 MB / 0.5294 GB, free: 3.633 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.4655, allocations: 15.92 kB / 0.5294 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001735/0.4656, allocations: 120 kB / 0.5295 GB, free: 3.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007579/0.4664, allocations: 264.9 kB / 0.5297 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009492/0.4673, allocations: 195.7 kB / 0.5299 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/0.479, allocations: 14.25 MB / 0.5438 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.481, allocations: 91.95 kB / 0.5439 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.4812, allocations: 56 kB / 0.544 GB, free: 3.25 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.0009285/0.4821, allocations: 429.6 kB / 0.5444 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006319/0.4827, allocations: 389.5 kB / 0.5448 GB, free: 2.438 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005522/0.4883, allocations: 2.207 MB / 0.5469 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.4883, allocations: 8 kB / 0.5469 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.4883, allocations: 4 kB / 0.5469 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.4883, allocations: 3.984 kB / 0.5469 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002749/0.491, allocations: 1.543 MB / 0.5484 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001598/0.4912, allocations: 120 kB / 0.5486 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007949/0.492, allocations: 135.8 kB / 0.5487 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007555/0.4927, allocations: 272.3 kB / 0.5489 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.4929, allocations: 43.98 kB / 0.549 GB, free: 13.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01157/0.5044, allocations: 14.25 MB / 0.5629 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5044, allocations: 3.938 kB / 0.5629 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006257/0.5107, allocations: 2.553 MB / 0.5654 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/0.512, allocations: 0.5141 MB / 0.5659 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003587/0.5124, allocations: 16 kB / 0.5659 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.5134, allocations: 83.89 kB / 0.566 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/0.5138, allocations: 140.8 kB / 0.5661 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.514, allocations: 51.98 kB / 0.5662 GB, free: 10.84 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002645/0.5166, allocations: 1.774 MB / 0.5679 GB, free: 9.059 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5166, allocations: 0 / 0.5679 GB, free: 9.059 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001909/0.5185, allocations: 0.6557 MB / 0.5685 GB, free: 8.402 MB / 478.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.001388/0.5199, allocations: 0.8059 MB / 0.5693 GB, free: 7.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004649/0.5245, allocations: 2.448 MB / 0.5717 GB, free: 4.992 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5246, allocations: 4 kB / 0.5717 GB, free: 4.988 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002913/0.5275, allocations: 1.902 MB / 0.5736 GB, free: 2.934 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/0.5306, allocations: 0.6354 MB / 0.5742 GB, free: 2.293 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008029/0.5386, allocations: 4.826 MB / 0.5789 GB, free: 13.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.5399, allocations: 1.65 MB / 0.5805 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005063/0.5404, allocations: 171.4 kB / 0.5807 GB, free: 11.58 MB / 494.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5404, allocations: 0 / 0.5807 GB, free: 11.58 MB / 494.1 MB Notification: Performance of Templates: time 0.2993/0.8397, allocations: 154.4 MB / 0.7315 GB, free: 113.3 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.sim & ./Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Nor.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.29473918187432]