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.001829/0.001829, allocations: 108.8 kB / 19.16 MB, free: 3.871 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.002229/0.002229, allocations: 205.6 kB / 22.12 MB, free: 0.9297 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.587/1.587, allocations: 207.6 MB / 232.5 MB, free: 3.738 MB / 174.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="cs",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.001787/0.001787, allocations: 51.92 kB / 343 MB, free: 9.953 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.099/0.1008, allocations: 49.13 MB / 392.1 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.007426/0.1082, allocations: 4.712 MB / 396.8 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.1122, allocations: 1.283 MB / 398.1 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005019/0.1127, allocations: 15.94 kB / 398.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.1131, allocations: 114.8 kB / 398.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005369/0.1136, allocations: 249.8 kB / 398.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008468/0.1145, allocations: 307.4 kB / 398.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.1158, allocations: 1.044 MB / 399.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005102/0.1163, allocations: 198.3 kB / 400 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007559/0.1171, allocations: 414.6 kB / 400.4 MB, free: 296 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007388/0.1178, allocations: 470 kB / 400.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.118, allocations: 88 kB / 401 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003003/0.1183, allocations: 116 kB / 401.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.1186, allocations: 199.3 kB / 401.3 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004461/0.119, allocations: 441.9 kB / 401.7 MB, free: 15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.1202, allocations: 0.9921 MB / 402.7 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1202, allocations: 0 / 402.7 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1202, allocations: 0 / 402.7 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.1202, allocations: 0 / 402.7 MB, free: 14 MB / 334.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.002709/0.1229, allocations: 1.238 MB / 404 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.123, allocations: 12.03 kB / 404 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.611e-05/0.123, allocations: 13.5 kB / 404 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001222/0.1231, allocations: 106.7 kB / 404.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.1233, allocations: 96.38 kB / 404.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000714/0.124, allocations: 473.8 kB / 404.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/0.1241, allocations: 45.69 kB / 404.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.1242, allocations: 60.38 kB / 404.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.1256, allocations: 0.6388 MB / 405.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1256, allocations: 4 kB / 405.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-05/0.1257, allocations: 24 kB / 405.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.1257, allocations: 16 kB / 405.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.1274, allocations: 0.6765 MB / 406.1 MB, free: 10.49 MB / 334.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.004029/0.1315, allocations: 2.313 MB / 408.4 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.133, allocations: 0.567 MB / 409 MB, free: 7.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007807/0.1338, allocations: 310 kB / 409.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.1338, allocations: 8.375 kB / 409.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.1348, allocations: 429.4 kB / 409.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=54): time 2.524e-06/0.1348, allocations: 0 / 409.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=94): time 0.07064/0.2055, allocations: 15.36 MB / 425.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.2056, allocations: 157.4 kB / 425.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006973/0.2063, allocations: 494.9 kB / 425.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001827/0.2065, allocations: 45.7 kB / 425.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.2068, allocations: 376.7 kB / 426.1 MB, free: 6.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.2071, allocations: 325.2 kB / 426.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003889/0.2075, allocations: 182.5 kB / 426.6 MB, free: 5.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.2077, allocations: 378.8 kB / 427 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.2098, allocations: 0.7202 MB / 427.7 MB, free: 4.527 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.2121, allocations: 0.9304 MB / 428.6 MB, free: 3.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004305/0.2164, allocations: 1.666 MB / 430.3 MB, free: 1.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.2164, allocations: 4 kB / 430.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.02357/0.24, allocations: 5.296 MB / 435.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.983e-05/0.2401, allocations: 71.39 kB / 435.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.2401, allocations: 4 kB / 435.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03428/0.2744, allocations: 6.821 MB / 442.5 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007475/0.2751, allocations: 139.8 kB / 442.6 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006562/0.2817, allocations: 3.032 MB / 445.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.2834, allocations: 175.8 kB / 445.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.2836, allocations: 39.98 kB / 445.9 MB, free: 2.078 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.0004881/0.2841, allocations: 225.6 kB / 446.1 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.2843, allocations: 75.53 kB / 446.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02272/0.307, allocations: 5.056 MB / 451.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.3071, allocations: 12 kB / 451.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.3071, allocations: 0 / 451.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/0.3071, allocations: 7.969 kB / 451.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.309, allocations: 1.104 MB / 452.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.309, allocations: 256 / 452.4 MB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.3096, allocations: 91.88 kB / 452.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03399/0.3436, allocations: 6.793 MB / 459.2 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00024/0.3438, allocations: 27.97 kB / 459.3 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006236/0.35, allocations: 3.025 MB / 462.3 MB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.35, allocations: 0 / 462.3 MB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2286/0.5786, allocations: 5.937 MB / 468.2 MB, free: 68.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.579, allocations: 143.6 kB / 468.4 MB, free: 68.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.5792, allocations: 23.34 kB / 468.4 MB, free: 68.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.5806, allocations: 162.9 kB / 468.5 MB, free: 68.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002918/0.5809, allocations: 99.83 kB / 468.6 MB, free: 68.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.581, allocations: 35.83 kB / 468.7 MB, free: 68.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004327/0.5814, allocations: 334.5 kB / 469 MB, free: 68.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5814, allocations: 0 / 469 MB, free: 68.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001002/0.5824, allocations: 256.7 kB / 469.3 MB, free: 68.29 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.02417/0.6066, allocations: 6.526 MB / 475.8 MB, free: 66.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005889/0.6124, allocations: 1.962 MB / 477.7 MB, free: 65.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.6124, allocations: 0 / 477.7 MB, free: 65.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003313/0.6158, allocations: 1.007 MB / 478.8 MB, free: 65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007564/0.6165, allocations: 129.9 kB / 478.9 MB, free: 64.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04913/0.6657, allocations: 15.67 MB / 494.6 MB, free: 50.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.666, allocations: 0.9404 MB / 495.5 MB, free: 49.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003554/0.6663, allocations: 58.91 kB / 495.5 MB, free: 49.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.6666, allocations: 259.3 kB / 495.8 MB, free: 49.33 MB / 382.1 MB Notification: Performance of SimCode: time 2.245e-06/0.6666, allocations: 0 / 495.8 MB, free: 49.33 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05557/0.7222, allocations: 29.57 MB / 0.5131 GB, free: 19.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.83, allocations: 8.047 kB / 0.5131 GB, free: 19.7 MB / 382.1 MB " [Timeout remaining time 645] (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: 18.009790533978958]