Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 213 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.91 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3364, allocations: 53.41 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002946/0.3393, allocations: 1.683 MB / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004213/0.3398, allocations: 171.4 kB / 433 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.3398, allocations: 0 / 433 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.845e-05/0.3399, allocations: 7.875 kB / 433 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.34, allocations: 19.92 kB / 433 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.3402, allocations: 43.83 kB / 433.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3403, allocations: 51.84 kB / 433.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.3404, allocations: 19.98 kB / 433.1 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.3405, allocations: 19.92 kB / 433.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.3405, allocations: 31.78 kB / 433.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.3405, allocations: 7.938 kB / 433.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.3405, allocations: 8 kB / 433.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.432e-05/0.3406, allocations: 15.94 kB / 433.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.3406, allocations: 23.86 kB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.3407, allocations: 77.22 kB / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3407, allocations: 0 / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3407, allocations: 0 / 433.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.3408, allocations: 0 / 433.3 MB, free: 4.289 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004642/0.3412, allocations: 317.9 kB / 433.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3413, allocations: 15.98 kB / 433.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.3413, allocations: 38.75 kB / 433.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.3413, allocations: 12.89 kB / 433.7 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.3415, allocations: 142.3 kB / 433.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3416, allocations: 8.375 kB / 433.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.3416, allocations: 8.312 kB / 433.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.3419, allocations: 157.4 kB / 434 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.3419, allocations: 7.938 kB / 434 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.3419, allocations: 7.938 kB / 434 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.3419, allocations: 4 kB / 434 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.342, allocations: 39.89 kB / 434.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.3424, allocations: 333 kB / 434.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.3426, allocations: 111.9 kB / 434.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.385e-05/0.3427, allocations: 50.56 kB / 434.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3427, allocations: 0 / 434.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.3427, allocations: 42.55 kB / 434.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.3428, allocations: 0 / 434.6 MB, free: 2.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003125/0.3431, allocations: 125.6 kB / 434.7 MB, free: 2.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.3431, allocations: 114.8 kB / 434.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.3433, allocations: 136.3 kB / 435 MB, free: 2.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.3433, allocations: 25.7 kB / 435 MB, free: 2.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.3434, allocations: 88.14 kB / 435.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.3434, allocations: 15.88 kB / 435.1 MB, free: 2.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.3434, allocations: 25.92 kB / 435.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3436, allocations: 330.8 kB / 435.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.711e-05/0.3436, allocations: 12 kB / 435.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.61e-05/0.3437, allocations: 79.58 kB / 435.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.3439, allocations: 95.59 kB / 435.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3439, allocations: 0 / 435.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001848/0.3441, allocations: 97.48 kB / 435.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3441, allocations: 8 kB / 435.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3441, allocations: 288 / 435.7 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.3441, allocations: 8 kB / 435.7 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.3441, allocations: 19.98 kB / 435.7 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3442, allocations: 4 kB / 435.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.456e-05/0.3442, allocations: 11.89 kB / 435.8 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3442, allocations: 8 kB / 435.8 MB, free: 1.535 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001043/0.3443, allocations: 125.8 kB / 435.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.3445, allocations: 69.64 kB / 436 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.3445, allocations: 16.72 kB / 436 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3445, allocations: 4 kB / 436 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3445, allocations: 0 / 436 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3445, allocations: 4 kB / 436 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.3447, allocations: 156.5 kB / 436.1 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3447, allocations: 3.938 kB / 436.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.359e-05/0.3448, allocations: 23.98 kB / 436.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3448, allocations: 0 / 436.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3448, allocations: 4 kB / 436.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3449, allocations: 4 kB / 436.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3449, allocations: 0 / 436.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003709/0.3452, allocations: 320.2 kB / 436.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.3453, allocations: 27.88 kB / 436.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.3453, allocations: 0 / 436.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.3454, allocations: 8 kB / 436.5 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.3454, allocations: 3.984 kB / 436.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.3454, allocations: 4 kB / 436.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.888e-05/0.3455, allocations: 103.3 kB / 436.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3455, allocations: 0 / 436.6 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.3458, allocations: 12 kB / 436.6 MB, free: 0.5781 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006276/0.3464, allocations: 0.8501 MB / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.3466, allocations: 55.84 kB / 437.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3466, allocations: 0 / 437.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.3466, allocations: 15.98 kB / 437.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.347, allocations: 51.25 kB / 437.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.3485, allocations: 1.581 MB / 439.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.594e-05/0.3486, allocations: 87.28 kB / 439.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.892e-05/0.3486, allocations: 8.656 kB / 439.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.3486, allocations: 19.44 kB / 439.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3486, allocations: 0 / 439.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.3772, allocations: 2.419 MB / 441.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.28, allocations: 0 / 441.7 MB, free: 11.42 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 13.789417508989573]