Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001757/0.001757, allocations: 112 kB / 20.43 MB, free: 1.309 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.0023/0.0023, allocations: 191.2 kB / 23.72 MB, free: 4.559 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.503/1.503, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 55.86 kB / 370.4 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2974, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002815/0.3002, allocations: 1.603 MB / 424.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008185/0.301, allocations: 466.8 kB / 424.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.3011, allocations: 7.938 kB / 424.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.39e-05/0.3012, allocations: 11.92 kB / 424.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.3013, allocations: 3.938 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.3015, allocations: 47.83 kB / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.3016, allocations: 47.8 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.591e-05/0.3017, allocations: 11.98 kB / 424.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.3018, allocations: 23.91 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.321e-05/0.3018, allocations: 19.86 kB / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3018, allocations: 4 kB / 424.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.3019, allocations: 4 kB / 424.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.3019, allocations: 12 kB / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.3019, allocations: 27.8 kB / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3021, allocations: 52.11 kB / 425 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3021, allocations: 0 / 425 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3021, allocations: 4 kB / 425 MB, free: 12.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3021, allocations: 0 / 425 MB, free: 12.26 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.0004459/0.3025, allocations: 305.9 kB / 425.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3026, allocations: 12.03 kB / 425.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.481e-05/0.3026, allocations: 30.75 kB / 425.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.3026, allocations: 12.89 kB / 425.3 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.3028, allocations: 141.6 kB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.3028, allocations: 384 / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3029, allocations: 8.375 kB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.3031, allocations: 125.1 kB / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3031, allocations: 0 / 425.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3032, allocations: 3.984 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3032, allocations: 7.938 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.3032, allocations: 19.98 kB / 425.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.3036, allocations: 240.8 kB / 425.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.3037, allocations: 65.08 kB / 425.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.995e-05/0.3038, allocations: 29.77 kB / 426 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.3038, allocations: 0 / 426 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3038, allocations: 38.5 kB / 426 MB, free: 11.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3038, allocations: 4 kB / 426 MB, free: 11.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000254/0.3041, allocations: 77.61 kB / 426.1 MB, free: 11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.3042, allocations: 85.05 kB / 426.2 MB, free: 10.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.3043, allocations: 133.8 kB / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3043, allocations: 29.7 kB / 426.3 MB, free: 10.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.3044, allocations: 88.12 kB / 426.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.3044, allocations: 3.953 kB / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.3044, allocations: 21.84 kB / 426.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3045, allocations: 318.8 kB / 426.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.273e-05/0.3046, allocations: 11.98 kB / 426.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.703e-05/0.3046, allocations: 31.42 kB / 426.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.724e-05/0.3047, allocations: 55.36 kB / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3047, allocations: 0 / 426.8 MB, free: 10.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001328/0.3049, allocations: 65.58 kB / 426.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3049, allocations: 7.984 kB / 426.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3049, allocations: 0 / 426.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3049, allocations: 8.125 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.228e-05/0.305, allocations: 7.938 kB / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.305, allocations: 4 kB / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/0.305, allocations: 0 / 426.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.305, allocations: 7.984 kB / 426.9 MB, free: 10.05 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 9.209e-05/0.3051, allocations: 121.7 kB / 427 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.3052, allocations: 49.64 kB / 427.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.3052, allocations: 12.34 kB / 427.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3052, allocations: 4 kB / 427.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3052, allocations: 0 / 427.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3052, allocations: 4 kB / 427.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3054, allocations: 140.7 kB / 427.3 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.3054, allocations: 3.938 kB / 427.3 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.457e-05/0.3055, allocations: 15.92 kB / 427.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3055, allocations: 0 / 427.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3055, allocations: 4 kB / 427.3 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3055, allocations: 0 / 427.3 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3055, allocations: 0 / 427.3 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.3057, allocations: 180.6 kB / 427.5 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.3057, allocations: 11.94 kB / 427.5 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.3057, allocations: 8 kB / 427.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/0.3058, allocations: 0 / 427.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.3058, allocations: 7.922 kB / 427.5 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.3058, allocations: 11.94 kB / 427.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.397e-05/0.3059, allocations: 108.5 kB / 427.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3059, allocations: 0 / 427.6 MB, free: 9.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.3061, allocations: 4 kB / 427.6 MB, free: 9.293 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.000488/0.3066, allocations: 0.7015 MB / 428.3 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.3067, allocations: 31.92 kB / 428.3 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3068, allocations: 4 kB / 428.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.3068, allocations: 11.98 kB / 428.4 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3071, allocations: 23.34 kB / 428.4 MB, free: 8.496 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.3085, allocations: 1.347 MB / 429.7 MB, free: 7.047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.3088, allocations: 0.6961 MB / 430.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.953e-05/0.3088, allocations: 8.25 kB / 430.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.04e-05/0.3089, allocations: 15.42 kB / 430.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3089, allocations: 0 / 430.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.3362, allocations: 1.675 MB / 432.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11, allocations: 11.91 kB / 432.1 MB, free: 4.75 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.520989405922592]