Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 105.8 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002473/0.002473, allocations: 191.9 kB / 23.47 MB, free: 5.297 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 207.6 MB / 234.1 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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.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.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5059,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 54.73 kB / 345.9 MB, free: 10.56 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4232, allocations: 49.11 MB / 395 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.006176/0.4294, allocations: 4.064 MB / 399 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.4323, allocations: 1.12 MB / 400.2 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006261/0.4329, allocations: 8.906 kB / 400.2 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003506/0.4332, allocations: 103.8 kB / 400.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000609/0.4339, allocations: 172.7 kB / 400.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008968/0.4348, allocations: 278.8 kB / 400.7 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.436, allocations: 0.9712 MB / 401.7 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.4364, allocations: 198.8 kB / 401.9 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006351/0.437, allocations: 375.8 kB / 402.2 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005881/0.4376, allocations: 441.9 kB / 402.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.4378, allocations: 113.3 kB / 402.8 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.438, allocations: 112.8 kB / 402.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.4382, allocations: 209.6 kB / 403.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004383/0.4387, allocations: 415.3 kB / 403.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.4403, allocations: 1.145 MB / 404.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.4404, allocations: 5 kB / 404.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4404, allocations: 0 / 404.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.403e-05/0.4404, allocations: 0 / 404.7 MB, free: 3.395 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003475/0.4439, allocations: 1.209 MB / 405.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.4439, allocations: 8.812 kB / 405.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.4441, allocations: 78.25 kB / 405.9 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007696/0.4449, allocations: 444.9 kB / 406.4 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/0.445, allocations: 42.36 kB / 406.4 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.4451, allocations: 56.75 kB / 406.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.4476, allocations: 0.9313 MB / 407.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.4476, allocations: 1.375 kB / 407.4 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.749e-05/0.4477, allocations: 23.72 kB / 407.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.4477, allocations: 13.75 kB / 407.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.4505, allocations: 0.9734 MB / 408.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005182/0.4557, allocations: 3.064 MB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/0.4584, allocations: 0.8843 MB / 412.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.4597, allocations: 412.3 kB / 412.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.21e-05/0.4598, allocations: 24.53 kB / 412.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/0.4611, allocations: 468.5 kB / 413.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 3.036e-06/0.4611, allocations: 0 / 413.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=50): time 0.003725/0.4648, allocations: 1.086 MB / 414.3 MB, free: 13.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002219/0.465, allocations: 277.2 kB / 414.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.4663, allocations: 0.5006 MB / 415.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.4664, allocations: 38.3 kB / 415.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004257/0.4668, allocations: 339.7 kB / 415.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.4671, allocations: 180.1 kB / 415.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003644/0.4675, allocations: 134.9 kB / 415.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002428/0.4677, allocations: 370.6 kB / 416.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.4691, allocations: 407.1 kB / 416.5 MB, free: 11.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.4707, allocations: 0.6521 MB / 417.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/0.4734, allocations: 0.9659 MB / 418.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/0.4734, allocations: 1.188 kB / 418.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003433/0.4768, allocations: 1.132 MB / 419.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.801e-05/0.4769, allocations: 65.44 kB / 419.4 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.4769, allocations: 13.5 kB / 419.4 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.889e-05/0.477, allocations: 14.98 kB / 419.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.4781, allocations: 217.6 kB / 419.6 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/0.4781, allocations: 13.67 kB / 419.6 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.4794, allocations: 181 kB / 419.8 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.4795, allocations: 36.52 kB / 419.8 MB, free: 9.305 MB / 334.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.0004916/0.48, allocations: 220 kB / 420 MB, free: 9.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.4802, allocations: 61.16 kB / 420.1 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/0.4804, allocations: 63.11 kB / 420.2 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4804, allocations: 8.844 kB / 420.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.4805, allocations: 0 / 420.2 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4805, allocations: 5.062 kB / 420.2 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004146/0.4846, allocations: 1.645 MB / 421.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.4846, allocations: 0 / 421.8 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008541/0.4855, allocations: 144.4 kB / 422 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.879e-05/0.4855, allocations: 2.062 kB / 422 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.367e-05/0.4856, allocations: 16.77 kB / 422 MB, free: 7.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.4856, allocations: 5.188 kB / 422 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.4856, allocations: 5.125 kB / 422 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003699/0.4893, allocations: 1.289 MB / 423.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.4896, allocations: 140.7 kB / 423.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.4898, allocations: 12 kB / 423.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008855/0.4907, allocations: 99.92 kB / 423.5 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/0.4909, allocations: 52.38 kB / 423.6 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.491, allocations: 19.98 kB / 423.6 MB, free: 6.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007593/0.4917, allocations: 346.9 kB / 423.9 MB, free: 6.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4917, allocations: 3.938 kB / 423.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008967/0.4926, allocations: 175.8 kB / 424.1 MB, free: 5.973 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Nand.C4.v,Nand.C7.v) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,VIN1.signalSource.T_start,VIN1.signalSource.count,VIN2.signalSource.T_start,VIN2.signalSource.count) * Number of discrete states: 2 (VIN1.signalSource.count,VIN2.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/0.4928, allocations: 123.1 kB / 424.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002802/0.4957, allocations: 0.9615 MB / 425.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4957, allocations: 0 / 425.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.4968, allocations: 403 kB / 425.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007495/0.4975, allocations: 89.94 kB / 425.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.5004, allocations: 1.212 MB / 426.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.501, allocations: 0.8588 MB / 427.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003577/0.5013, allocations: 63.36 kB / 427.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of SimCode: time 1.764e-06/0.5013, allocations: 4 kB / 427.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of Templates: time 0.02061/0.522, allocations: 8.687 MB / 436.5 MB, free: 9.477 MB / 350.1 MB [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/NandGate/NandGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches