Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 124.5 kB / 18.46 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 190.6 kB / 21.4 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") translateModel(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5041,variableFilter="time|HeatCapacitor1.T",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 51.92 kB / 366.8 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09382/0.09525, allocations: 52.13 MB / 419 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate): time 0.006044/0.1013, allocations: 4.958 MB / 423.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.1034, allocations: 1.276 MB / 425.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.1036, allocations: 11.94 kB / 425.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.1039, allocations: 126.7 kB / 425.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004294/0.1043, allocations: 261.6 kB / 425.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.1049, allocations: 311.5 kB / 425.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.106, allocations: 1.091 MB / 427 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003012/0.1063, allocations: 190.5 kB / 427.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.1067, allocations: 418.5 kB / 427.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005623/0.1073, allocations: 482 kB / 428.1 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.1074, allocations: 92 kB / 428.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.1076, allocations: 120 kB / 428.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.1078, allocations: 199.3 kB / 428.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004041/0.1082, allocations: 445.8 kB / 428.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.1092, allocations: 1.047 MB / 429.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1092, allocations: 0 / 429.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1092, allocations: 0 / 429.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.1092, allocations: 0 / 429.9 MB, free: 1.02 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.002515/0.1118, allocations: 1.281 MB / 431.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1118, allocations: 8.031 kB / 431.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.112, allocations: 100.3 kB / 431.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006533/0.1126, allocations: 0.4921 MB / 431.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.1126, allocations: 49.62 kB / 431.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.1128, allocations: 64.38 kB / 431.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001399/0.1142, allocations: 0.6548 MB / 432.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1142, allocations: 0 / 432.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/0.1142, allocations: 28 kB / 432.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.1143, allocations: 16 kB / 432.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.116, allocations: 0.6922 MB / 433.3 MB, free: 13.53 MB / 366.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.003826/0.1198, allocations: 2.383 MB / 435.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.1213, allocations: 0.5693 MB / 436.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000742/0.122, allocations: 306.6 kB / 436.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.1221, allocations: 8.438 kB / 436.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009327/0.123, allocations: 425.4 kB / 437 MB, free: 9.664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=54): time 1.713e-06/0.123, allocations: 0 / 437 MB, free: 9.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.2338/0.3568, allocations: 15.39 MB / 452.4 MB, free: 29.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.319e-05/0.3569, allocations: 144.3 kB / 452.5 MB, free: 29.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007936/0.3577, allocations: 0.5145 MB / 453 MB, free: 29.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.3579, allocations: 47.39 kB / 453.1 MB, free: 29.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/0.3581, allocations: 396.5 kB / 453.5 MB, free: 28.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000266/0.3584, allocations: 326 kB / 453.8 MB, free: 28.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003738/0.3588, allocations: 186.2 kB / 454 MB, free: 28.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3589, allocations: 391.5 kB / 454.4 MB, free: 28.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002038/0.3609, allocations: 0.7221 MB / 455.1 MB, free: 28.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/0.363, allocations: 0.9585 MB / 456 MB, free: 28.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003927/0.3669, allocations: 1.693 MB / 457.7 MB, free: 27.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.3669, allocations: 2.469 kB / 457.7 MB, free: 27.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.02215/0.3891, allocations: 5.33 MB / 463.1 MB, free: 26.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.366e-05/0.3891, allocations: 68.62 kB / 463.1 MB, free: 26.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.3892, allocations: 6.625 kB / 463.1 MB, free: 26.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03141/0.4206, allocations: 6.826 MB / 470 MB, free: 23.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.4212, allocations: 150.9 kB / 470.1 MB, free: 23.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/0.4262, allocations: 3.016 MB / 473.1 MB, free: 21.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.4277, allocations: 182.6 kB / 473.3 MB, free: 21.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.489e-05/0.4278, allocations: 46.14 kB / 473.3 MB, free: 21.51 MB / 366.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.0003487/0.4282, allocations: 230.1 kB / 473.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.4283, allocations: 86.2 kB / 473.7 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01967/0.448, allocations: 5.046 MB / 478.7 MB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.448, allocations: 12.66 kB / 478.7 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.448, allocations: 0.8125 kB / 478.7 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.448, allocations: 7.969 kB / 478.7 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.4492, allocations: 1.106 MB / 479.8 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4492, allocations: 7.922 kB / 479.8 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.4497, allocations: 95.81 kB / 479.9 MB, free: 16.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02959/0.4793, allocations: 6.786 MB / 486.7 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/0.4794, allocations: 20.55 kB / 486.7 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00472/0.4841, allocations: 3.034 MB / 489.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4841, allocations: 4.562 kB / 489.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02136/0.5055, allocations: 5.939 MB / 495.7 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.5057, allocations: 144.6 kB / 495.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.5058, allocations: 23.98 kB / 495.9 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.5071, allocations: 172.4 kB / 496 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.5074, allocations: 100.9 kB / 496.1 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.08e-05/0.5074, allocations: 31.98 kB / 496.2 MB, free: 248 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003571/0.5078, allocations: 354.8 kB / 496.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5078, allocations: 0 / 496.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008021/0.5086, allocations: 263.9 kB / 496.8 MB, free: 15.64 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.0002696/0.5089, allocations: 129.2 kB / 496.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006071/0.5149, allocations: 1.98 MB / 498.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5149, allocations: 0 / 498.9 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003578/0.5185, allocations: 1.003 MB / 499.9 MB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007711/0.5193, allocations: 139.7 kB / 0.4883 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.5232, allocations: 1.847 MB / 0.4901 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.5237, allocations: 0.9467 MB / 0.491 GB, free: 9.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.5239, allocations: 35.44 kB / 0.4911 GB, free: 9.52 MB / 382.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5239, allocations: 4 kB / 0.4911 GB, free: 9.516 MB / 382.1 MB Notification: Performance of Templates: time 0.02273/0.5466, allocations: 17.49 MB / 0.5082 GB, free: 8.098 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingPNP_NORGate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingPNP_NORGate/HeatingPNP_NORGate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.017582814907655]