Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001451/0.001451, 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.001779/0.001779, allocations: 213.9 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.511/1.511, allocations: 230.5 MB / 257.4 MB, free: 7.801 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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 67.91 kB / 377.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3117, allocations: 53.4 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002923/0.3146, allocations: 1.584 MB / 432.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.3157, allocations: 0.4987 MB / 433.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.091e-05/0.3158, allocations: 3.938 kB / 433.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.07e-05/0.3158, allocations: 3.938 kB / 433.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.316, allocations: 19.84 kB / 433.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.3163, allocations: 47.89 kB / 433.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.3164, allocations: 47.84 kB / 433.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3165, allocations: 8 kB / 433.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.3167, allocations: 35.84 kB / 433.4 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/0.3167, allocations: 23.8 kB / 433.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.3168, allocations: 4 kB / 433.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.391e-05/0.3168, allocations: 4 kB / 433.4 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.3169, allocations: 19.92 kB / 433.4 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.3169, allocations: 15.88 kB / 433.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.3171, allocations: 65.36 kB / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3171, allocations: 0 / 433.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3171, allocations: 4 kB / 433.5 MB, free: 4.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3171, allocations: 0 / 433.5 MB, free: 4.07 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005378/0.3176, allocations: 305.9 kB / 433.8 MB, free: 3.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.3177, allocations: 11.98 kB / 433.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.3177, allocations: 38.75 kB / 433.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.3179, allocations: 16.88 kB / 433.9 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.3181, allocations: 134.4 kB / 434 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3181, allocations: 8.375 kB / 434 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3182, allocations: 8.375 kB / 434 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003101/0.3185, allocations: 117.1 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3185, allocations: 7.938 kB / 434.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3185, allocations: 0 / 434.2 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.3185, allocations: 4 kB / 434.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.483e-05/0.3186, allocations: 23.92 kB / 434.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.3189, allocations: 232.8 kB / 434.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.3191, allocations: 69.12 kB / 434.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.3192, allocations: 29.77 kB / 434.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3192, allocations: 0 / 434.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3192, allocations: 30.56 kB / 434.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.3192, allocations: 4 kB / 434.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002431/0.3195, allocations: 85.55 kB / 434.6 MB, free: 2.801 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.3195, allocations: 77.11 kB / 434.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3197, allocations: 145 kB / 434.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3197, allocations: 25.7 kB / 434.9 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.3197, allocations: 88.12 kB / 435 MB, free: 2.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.3197, allocations: 11.95 kB / 435 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.3198, allocations: 13.72 kB / 435 MB, free: 2.402 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3199, allocations: 326.7 kB / 435.3 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.32, allocations: 8 kB / 435.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/0.32, allocations: 39.36 kB / 435.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.225e-05/0.3201, allocations: 47.36 kB / 435.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3201, allocations: 0 / 435.4 MB, free: 1.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/0.3202, allocations: 73.56 kB / 435.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3203, allocations: 8 kB / 435.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3203, allocations: 0 / 435.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3203, allocations: 0 / 435.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.3203, allocations: 12.12 kB / 435.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3203, allocations: 4 kB / 435.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.3204, allocations: 3.984 kB / 435.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.3204, allocations: 4 kB / 435.5 MB, free: 1.848 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.74e-05/0.3205, allocations: 122.6 kB / 435.6 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.3206, allocations: 49.64 kB / 435.7 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.3206, allocations: 12.34 kB / 435.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3206, allocations: 0 / 435.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3206, allocations: 0 / 435.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3206, allocations: 0 / 435.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3208, allocations: 148.6 kB / 435.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3208, allocations: 4 kB / 435.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.3208, allocations: 11.98 kB / 435.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3208, allocations: 0 / 435.8 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.3208, allocations: 4 kB / 435.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3208, allocations: 0 / 435.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3208, allocations: 3.938 kB / 435.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001916/0.321, allocations: 168.3 kB / 436 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.3211, allocations: 20.31 kB / 436 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.3211, allocations: 0 / 436 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.385e-05/0.3211, allocations: 8 kB / 436 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.3212, allocations: 4 kB / 436 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.3212, allocations: 4 kB / 436 MB, free: 1.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.999e-05/0.3212, allocations: 110 kB / 436.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3212, allocations: 4 kB / 436.2 MB, free: 1.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.3215, allocations: 4 kB / 436.2 MB, free: 1.102 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0005048/0.322, allocations: 0.7092 MB / 436.9 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.3221, allocations: 35.97 kB / 436.9 MB, free: 336 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3221, allocations: 4 kB / 436.9 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.3221, allocations: 4 kB / 436.9 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.3225, allocations: 27.95 kB / 436.9 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.3238, allocations: 1.376 MB / 438.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.708e-05/0.3239, allocations: 79.58 kB / 438.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.027e-05/0.3239, allocations: 0 / 438.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.324, allocations: 19.42 kB / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.324, allocations: 0 / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.351, allocations: 2.111 MB / 440.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.04, allocations: 3.375 kB / 440.5 MB, free: 12.7 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.658332401886582]