Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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.001432/0.001432, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001726/0.001726, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.682/1.682, allocations: 207.6 MB / 235.3 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="me",version="2.0",platforms={"static"}) [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.001831/0.001831, allocations: 51.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.363, allocations: 49.16 MB / 396.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.005958/0.369, allocations: 4.726 MB / 401.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.3718, allocations: 1.289 MB / 402.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005534/0.3724, allocations: 13.19 kB / 402.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003373/0.3727, allocations: 115.6 kB / 402.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005744/0.3733, allocations: 252.9 kB / 402.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009078/0.3742, allocations: 295.9 kB / 403 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.3754, allocations: 1.053 MB / 404.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.3757, allocations: 188.2 kB / 404.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005329/0.3762, allocations: 425.2 kB / 404.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005575/0.3768, allocations: 470.1 kB / 405.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.377, allocations: 87.66 kB / 405.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.3772, allocations: 112.4 kB / 405.3 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.3774, allocations: 193.4 kB / 405.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004127/0.3778, allocations: 439.4 kB / 406 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.3791, allocations: 1.004 MB / 407 MB, free: 2.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3791, allocations: 4.656 kB / 407 MB, free: 2.367 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3791, allocations: 0 / 407 MB, free: 2.367 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.732e-05/0.3791, allocations: 1.094 kB / 407 MB, free: 2.367 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002522/0.3816, allocations: 1.163 MB / 408.1 MB, free: 1.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.3817, allocations: 13.58 kB / 408.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.3818, allocations: 100.3 kB / 408.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.382, allocations: 94.64 kB / 408.3 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007488/0.3827, allocations: 405.7 kB / 408.7 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.3828, allocations: 51.33 kB / 408.8 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.3829, allocations: 61.47 kB / 408.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.3844, allocations: 0.634 MB / 409.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.3844, allocations: 1.031 kB / 409.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.3845, allocations: 26.62 kB / 409.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.3845, allocations: 14.66 kB / 409.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/0.3863, allocations: 0.6792 MB / 410.2 MB, free: 0.6602 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004326/0.3906, allocations: 2.257 MB / 412.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.3922, allocations: 0.5554 MB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008402/0.393, allocations: 310.9 kB / 413.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.558e-05/0.3931, allocations: 11.64 kB / 413.3 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001061/0.3942, allocations: 433.2 kB / 413.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.454e-06/0.3942, allocations: 0 / 413.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.0738/0.468, allocations: 15.23 MB / 429 MB, free: 2.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.4681, allocations: 145.5 kB / 429.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008889/0.469, allocations: 494.9 kB / 429.6 MB, free: 1.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003383/0.4693, allocations: 49.7 kB / 429.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/0.4698, allocations: 376.7 kB / 430 MB, free: 1.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004157/0.4702, allocations: 325.2 kB / 430.3 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/0.4706, allocations: 182.5 kB / 430.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002684/0.4709, allocations: 378.8 kB / 430.9 MB, free: 396 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.473, allocations: 0.7202 MB / 431.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.4753, allocations: 0.9303 MB / 432.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/0.4796, allocations: 1.662 MB / 434.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.4796, allocations: 4 kB / 434.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02514/0.5047, allocations: 5.296 MB / 439.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.5048, allocations: 71.39 kB / 439.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.5049, allocations: 7.938 kB / 439.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0359/0.5408, allocations: 6.825 MB / 446.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008072/0.5416, allocations: 139.8 kB / 446.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006631/0.5482, allocations: 3.012 MB / 449.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.55, allocations: 187.8 kB / 449.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.5501, allocations: 43.97 kB / 449.8 MB, free: 13.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 (V2.signalSource.count,$PRE.V2.signalSource.count,V2.signalSource.T_start,$PRE.V2.signalSource.T_start,V1.signalSource.count,$PRE.V1.signalSource.count,V1.signalSource.T_start,$PRE.V1.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 (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0005257/0.5507, allocations: 221.6 kB / 450 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.5508, allocations: 75.53 kB / 450.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02337/0.5742, allocations: 5.06 MB / 455.1 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.424e-05/0.5742, allocations: 8.25 kB / 455.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.582e-05/0.5743, allocations: 0 / 455.1 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.03e-05/0.5743, allocations: 7.984 kB / 455.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.5765, allocations: 1.076 MB / 456.2 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.5765, allocations: 0 / 456.2 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.5771, allocations: 91.88 kB / 456.3 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03636/0.6134, allocations: 6.781 MB / 463.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002671/0.6137, allocations: 23.97 kB / 463.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006468/0.6202, allocations: 3.029 MB / 466.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6202, allocations: 0 / 466.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02629/0.6465, allocations: 5.948 MB / 472.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.6468, allocations: 67.55 kB / 472.2 MB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.647, allocations: 20 kB / 472.2 MB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.6484, allocations: 171.8 kB / 472.3 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002893/0.6486, allocations: 104.8 kB / 472.4 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.94e-05/0.6487, allocations: 27.98 kB / 472.5 MB, free: 6.348 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005056/0.6492, allocations: 338.9 kB / 472.8 MB, free: 6.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6492, allocations: 0 / 472.8 MB, free: 6.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009082/0.6502, allocations: 260 kB / 473.1 MB, free: 5.766 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (HeatCapacitor1.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,V1.signalSource.T_start,V1.signalSource.count,V2.signalSource.T_start,V2.signalSource.count) * Number of discrete states: 2 (V2.signalSource.count,V1.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,32), (5,36)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02638/0.6765, allocations: 6.514 MB / 479.6 MB, free: 15.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006501/0.683, allocations: 1.954 MB / 481.5 MB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.683, allocations: 1.125 kB / 481.5 MB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003557/0.6866, allocations: 1.015 MB / 482.5 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009163/0.6875, allocations: 138.3 kB / 482.7 MB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06029/0.7478, allocations: 15.68 MB / 498.3 MB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000639/0.7485, allocations: 0.9389 MB / 499.3 MB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004121/0.7489, allocations: 54.06 kB / 499.3 MB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/0.7493, allocations: 267.3 kB / 499.6 MB, free: 10.85 MB / 414.1 MB Notification: Performance of SimCode: time 1.513e-06/0.7493, allocations: 0 / 499.6 MB, free: 10.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08981/0.8391, allocations: 30.73 MB / 0.5179 GB, free: 12.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.33, allocations: 11.88 kB / 0.5179 GB, free: 12 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0397062 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.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: 19.531057057902217]