Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001852/0.001852, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002404/0.002404, allocations: 217 kB / 23.75 MB, free: 4.668 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.606/1.606, allocations: 230.6 MB / 257.5 MB, free: 8 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.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 47.92 kB / 377.8 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2938, allocations: 53.36 MB / 431.1 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003467/0.2973, allocations: 1.722 MB / 432.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005169/0.2978, allocations: 171.3 kB / 433 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.2979, allocations: 7.938 kB / 433 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.62e-05/0.298, allocations: 3.938 kB / 433 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.2982, allocations: 19.86 kB / 433.1 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.2985, allocations: 39.89 kB / 433.1 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.2986, allocations: 55.84 kB / 433.2 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2987, allocations: 27.97 kB / 433.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.666e-05/0.2988, allocations: 23.88 kB / 433.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.809e-05/0.2988, allocations: 27.84 kB / 433.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.2989, allocations: 4 kB / 433.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.2989, allocations: 4 kB / 433.2 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.2989, allocations: 15.94 kB / 433.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.299, allocations: 31.73 kB / 433.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.2991, allocations: 72.36 kB / 433.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2991, allocations: 0 / 433.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2991, allocations: 0 / 433.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.2991, allocations: 4 kB / 433.4 MB, free: 4.789 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.0005352/0.2997, allocations: 317.9 kB / 433.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2997, allocations: 12.03 kB / 433.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.2998, allocations: 34.75 kB / 433.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.2998, allocations: 12.89 kB / 433.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.3001, allocations: 150.2 kB / 433.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.3001, allocations: 384 / 433.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3001, allocations: 8.375 kB / 433.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.3004, allocations: 164.2 kB / 434 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3005, allocations: 3.938 kB / 434 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.3005, allocations: 0 / 434 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3005, allocations: 0 / 434 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.3006, allocations: 47.89 kB / 434.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.301, allocations: 336.9 kB / 434.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.3013, allocations: 115.8 kB / 434.5 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.3014, allocations: 50.61 kB / 434.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.3014, allocations: 4.141 kB / 434.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.3015, allocations: 42.56 kB / 434.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.3015, allocations: 0 / 434.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003944/0.3019, allocations: 117.5 kB / 434.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/0.302, allocations: 114.8 kB / 434.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3021, allocations: 136.3 kB / 435 MB, free: 2.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3021, allocations: 25.7 kB / 435 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.3022, allocations: 92.31 kB / 435.1 MB, free: 2.812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.3022, allocations: 19.89 kB / 435.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.366e-05/0.3023, allocations: 25.67 kB / 435.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3024, allocations: 322.8 kB / 435.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.291e-05/0.3025, allocations: 19.92 kB / 435.5 MB, free: 2.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.942e-05/0.3026, allocations: 75.66 kB / 435.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.3027, allocations: 87.66 kB / 435.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3027, allocations: 4 kB / 435.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.3029, allocations: 105.7 kB / 435.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3029, allocations: 12.03 kB / 435.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.3029, allocations: 0 / 435.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.303, allocations: 4 kB / 435.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.303, allocations: 16 kB / 435.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.303, allocations: 11.98 kB / 435.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.3031, allocations: 7.953 kB / 435.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3031, allocations: 4 kB / 435.8 MB, free: 2.035 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.0001016/0.3032, allocations: 126.4 kB / 435.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.3033, allocations: 77.64 kB / 436 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.3034, allocations: 16.7 kB / 436 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3034, allocations: 0 / 436 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3034, allocations: 4 kB / 436 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.3034, allocations: 0 / 436 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.3037, allocations: 164.5 kB / 436.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3037, allocations: 4 kB / 436.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.3038, allocations: 19.92 kB / 436.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.3038, allocations: 4 kB / 436.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3038, allocations: 4 kB / 436.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3038, allocations: 0 / 436.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3038, allocations: 8 kB / 436.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.3042, allocations: 308.8 kB / 436.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.3042, allocations: 23.89 kB / 436.6 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.3042, allocations: 8.078 kB / 436.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3043, allocations: 11.94 kB / 436.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.3044, allocations: 0 / 436.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.3044, allocations: 4 kB / 436.6 MB, free: 1.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.424e-05/0.3045, allocations: 107.2 kB / 436.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3045, allocations: 0 / 436.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.3048, allocations: 12 kB / 436.7 MB, free: 1.066 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.0007393/0.3055, allocations: 0.8382 MB / 437.5 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.3057, allocations: 64.09 kB / 437.6 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3057, allocations: 3.938 kB / 437.6 MB, free: 132 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.946e-05/0.3057, allocations: 12 kB / 437.6 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.3062, allocations: 47.86 kB / 437.7 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.308, allocations: 1.573 MB / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.3084, allocations: 0.7041 MB / 439.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.472e-05/0.3084, allocations: 8.609 kB / 439.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.3085, allocations: 23.42 kB / 440 MB, free: 13.6 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3085, allocations: 0 / 440 MB, free: 13.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.3401, allocations: 2.041 MB / 442 MB, free: 11.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.76, allocations: 17.23 kB / 442 MB, free: 11.68 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 14.341922980966046]