Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.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.001856/0.001856, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 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.002286/0.002286, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+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.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5059,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate") translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5059,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2104, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.00535/0.2157, allocations: 3.832 MB / 436.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.2177, allocations: 1.183 MB / 437.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.2179, allocations: 12 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.2182, allocations: 110.8 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.2185, allocations: 190.3 kB / 437.7 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006091/0.2191, allocations: 335.6 kB / 438 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.2202, allocations: 1.089 MB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003337/0.2205, allocations: 203 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.221, allocations: 414.8 kB / 439.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005198/0.2215, allocations: 462.3 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.2216, allocations: 116 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.2218, allocations: 123.9 kB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.222, allocations: 223.3 kB / 440.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.2224, allocations: 374.5 kB / 441 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.2236, allocations: 1.234 MB / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.2236, allocations: 0 / 442.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2236, allocations: 4 kB / 442.2 MB, free: 12.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.2236, allocations: 0 / 442.2 MB, free: 12.83 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.003045/0.2266, allocations: 1.198 MB / 443.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2267, allocations: 12.03 kB / 443.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.2268, allocations: 84.42 kB / 443.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/0.2275, allocations: 432 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.2276, allocations: 45.69 kB / 443.9 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.2277, allocations: 56.38 kB / 444 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002493/0.2302, allocations: 1.274 MB / 445.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2302, allocations: 0 / 445.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.712e-05/0.2303, allocations: 32 kB / 445.3 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.2303, allocations: 16 kB / 445.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/0.2333, allocations: 0.9951 MB / 446.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004865/0.2382, allocations: 2.833 MB / 449.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.2405, allocations: 0.743 MB / 449.9 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.2417, allocations: 417.9 kB / 450.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.097e-05/0.2418, allocations: 20.36 kB / 450.3 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/0.243, allocations: 461.1 kB / 450.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.174e-06/0.243, allocations: 3.938 kB / 450.8 MB, free: 3.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.003327/0.2464, allocations: 1.1 MB / 451.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001975/0.2466, allocations: 368.3 kB / 452.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.2473, allocations: 0.5416 MB / 452.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.479e-05/0.2474, allocations: 41.7 kB / 452.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.2477, allocations: 376.4 kB / 453.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.2478, allocations: 178.5 kB / 453.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/0.2481, allocations: 146.6 kB / 453.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.2483, allocations: 366.8 kB / 453.9 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.2496, allocations: 465.1 kB / 454.3 MB, free: 220 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.2512, allocations: 1.033 MB / 455.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/0.2536, allocations: 0.979 MB / 456.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2536, allocations: 0 / 456.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00305/0.2567, allocations: 1.197 MB / 457.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.213e-05/0.2568, allocations: 63.41 kB / 457.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.2568, allocations: 8 kB / 457.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.2568, allocations: 12.28 kB / 457.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.2579, allocations: 219.6 kB / 457.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.2579, allocations: 15.94 kB / 457.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.259, allocations: 187.2 kB / 458 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.387e-05/0.2591, allocations: 35.98 kB / 458.1 MB, free: 12.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 10 (VIN2.signalSource.count,$PRE.VIN2.signalSource.count,VIN2.signalSource.T_start,$PRE.VIN2.signalSource.T_start,VIN1.signalSource.count,$PRE.VIN1.signalSource.count,VIN1.signalSource.T_start,$PRE.VIN1.signalSource.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003233/0.2594, allocations: 229.5 kB / 458.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.2595, allocations: 63.56 kB / 458.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.2597, allocations: 69.94 kB / 458.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.2597, allocations: 3.984 kB / 458.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2597, allocations: 0 / 458.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.2598, allocations: 55.56 kB / 458.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.2599, allocations: 23.92 kB / 458.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007716/0.2607, allocations: 103.9 kB / 458.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.2608, allocations: 48.36 kB / 458.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002859/0.2637, allocations: 0.9093 MB / 459.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003421/0.2671, allocations: 1.364 MB / 460.9 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001025/0.2681, allocations: 367.3 kB / 461.3 MB, free: 8.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005292/0.2687, allocations: 370.8 kB / 461.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of Backend: time 3.21e-07/0.2687, allocations: 0 / 461.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.2706, allocations: 0.7856 MB / 462.4 MB, free: 7.676 MB / 366.1 MB Notification: Performance of SimCode: time 0.002019/0.2727, allocations: 1.516 MB / 463.9 MB, free: 6.117 MB / 366.1 MB Notification: Performance of Templates: time 0.02023/0.2929, allocations: 12.74 MB / 476.7 MB, free: 9.504 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/NandGate/NandGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.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: 4.573754860000918]