Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001288/0.001288, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001438/0.001438, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.349/1.349, allocations: 230.6 MB / 258.3 MB, free: 8.027 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 43.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2399, allocations: 53.36 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.00657/0.2465, allocations: 4.993 MB / 436.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00291/0.2494, allocations: 1.291 MB / 438.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004044/0.2498, allocations: 15.94 kB / 438.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.2501, allocations: 126.7 kB / 438.4 MB, free: 408 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.2506, allocations: 257.7 kB / 438.6 MB, free: 148 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006651/0.2512, allocations: 319.4 kB / 438.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.2523, allocations: 1.095 MB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.2527, allocations: 191 kB / 440.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005079/0.2532, allocations: 426.5 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006024/0.2538, allocations: 482 kB / 441.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.2539, allocations: 91.94 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001975/0.2541, allocations: 116 kB / 441.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.2543, allocations: 199.3 kB / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.2547, allocations: 457.8 kB / 441.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2558, allocations: 1.036 MB / 443 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2558, allocations: 4 kB / 443 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2558, allocations: 0 / 443 MB, free: 11.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2558, allocations: 0 / 443 MB, free: 11.76 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002532/0.2583, allocations: 1.206 MB / 444.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.2584, allocations: 12.03 kB / 444.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.729e-05/0.2584, allocations: 17.44 kB / 444.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.2585, allocations: 114.7 kB / 444.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.2587, allocations: 96.33 kB / 444.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/0.2594, allocations: 430 kB / 444.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.2594, allocations: 49.69 kB / 444.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.2595, allocations: 68.31 kB / 445 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.2609, allocations: 0.6584 MB / 445.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.2609, allocations: 0 / 445.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/0.261, allocations: 27.98 kB / 445.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.261, allocations: 16 kB / 445.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.2627, allocations: 0.6961 MB / 446.4 MB, free: 8.293 MB / 350.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.003942/0.2667, allocations: 2.312 MB / 448.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.2682, allocations: 0.5588 MB / 449.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007836/0.269, allocations: 313.9 kB / 449.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.288e-05/0.2691, allocations: 8.438 kB / 449.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.2701, allocations: 435.7 kB / 450 MB, free: 4.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.695e-06/0.2701, allocations: 0 / 450 MB, free: 4.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.06879/0.3389, allocations: 15.23 MB / 465.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.339, allocations: 141.5 kB / 465.3 MB, free: 5.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007416/0.3397, allocations: 0.5225 MB / 465.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.3399, allocations: 41.7 kB / 465.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.3403, allocations: 396.7 kB / 466.3 MB, free: 4.062 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.3406, allocations: 333.2 kB / 466.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003947/0.341, allocations: 182.6 kB / 466.8 MB, free: 3.551 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.3412, allocations: 390.7 kB / 467.2 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.3434, allocations: 0.7205 MB / 467.9 MB, free: 2.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.3457, allocations: 0.9629 MB / 468.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004275/0.3499, allocations: 1.689 MB / 470.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3499, allocations: 0 / 470.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02298/0.3729, allocations: 5.335 MB / 475.9 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.912e-05/0.373, allocations: 67.39 kB / 475.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.373, allocations: 4 kB / 476 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03436/0.4074, allocations: 6.848 MB / 482.8 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/0.4081, allocations: 143.8 kB / 482.9 MB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006343/0.4145, allocations: 3.013 MB / 486 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.4161, allocations: 183.8 kB / 486.1 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.4163, allocations: 47.98 kB / 486.2 MB, free: 15.86 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (54): * Single equations (assignments): 50 * 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.0004443/0.4167, allocations: 233.7 kB / 486.4 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.4169, allocations: 83.48 kB / 486.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02214/0.439, allocations: 5.064 MB / 491.6 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.439, allocations: 12 kB / 491.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.439, allocations: 0 / 491.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/0.4391, allocations: 3.984 kB / 491.6 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.4406, allocations: 1.068 MB / 492.6 MB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4406, allocations: 3.938 kB / 492.6 MB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.4412, allocations: 95.88 kB / 492.7 MB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03388/0.4751, allocations: 6.777 MB / 499.5 MB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/0.4753, allocations: 27.97 kB / 499.5 MB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006011/0.4813, allocations: 3.037 MB / 0.4908 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4813, allocations: 3.938 kB / 0.4908 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02453/0.5058, allocations: 5.948 MB / 0.4966 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.5061, allocations: 79.52 kB / 0.4967 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.5062, allocations: 16 kB / 0.4967 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.5076, allocations: 167.8 kB / 0.4969 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/0.5078, allocations: 96.83 kB / 0.497 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.644e-05/0.5079, allocations: 35.97 kB / 0.497 GB, free: 8.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004667/0.5084, allocations: 354.8 kB / 0.4973 GB, free: 8.605 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5084, allocations: 0 / 0.4973 GB, free: 8.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008612/0.5092, allocations: 259.9 kB / 0.4976 GB, free: 8.352 MB / 414.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.02509/0.5343, allocations: 6.526 MB / 0.5039 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006196/0.5405, allocations: 1.973 MB / 0.5059 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.5405, allocations: 0 / 0.5059 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0035/0.544, allocations: 1.016 MB / 0.5069 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.5448, allocations: 130.2 kB / 0.507 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05467/0.5995, allocations: 15.9 MB / 0.5225 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005787/0.6001, allocations: 0.9545 MB / 0.5234 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003064/0.6004, allocations: 58.27 kB / 0.5235 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/0.6007, allocations: 271.3 kB / 0.5238 GB, free: 13.11 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6007, allocations: 0 / 0.5238 GB, free: 13.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2414/0.8421, allocations: 31.23 MB / 0.5543 GB, free: 100.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.59, allocations: 11.28 kB / 0.5543 GB, free: 100.2 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate_fmu --startTime=0 --stopTime=200 --stepSize=0.0396747 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_HeatingPNP_NORGate.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 17.448602853983175]