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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.543/1.543, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3727, allocations: 50.53 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003044/0.3758, allocations: 1.58 MB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3769, allocations: 0.5337 MB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.377, allocations: 8 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.99e-05/0.3771, allocations: 3.938 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.3772, allocations: 3.938 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000385/0.3776, allocations: 51.81 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.3778, allocations: 51.78 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.3779, allocations: 15.98 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.378, allocations: 27.86 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.987e-05/0.3781, allocations: 23.86 kB / 411.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.3782, allocations: 4 kB / 411.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.814e-05/0.3782, allocations: 8 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.3783, allocations: 15.92 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.3783, allocations: 31.8 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.3785, allocations: 51.8 kB / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3785, allocations: 4 kB / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3785, allocations: 0 / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.3785, allocations: 0 / 411.2 MB, free: 15.13 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.0005629/0.3791, allocations: 376.8 kB / 411.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3791, allocations: 12.03 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.853e-05/0.3792, allocations: 34.75 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.3794, allocations: 20.83 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.3796, allocations: 200 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3796, allocations: 384 / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.3796, allocations: 4.375 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.3799, allocations: 129.1 kB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.3799, allocations: 0 / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3799, allocations: 4 kB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3799, allocations: 0 / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.936e-05/0.38, allocations: 19.92 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.3803, allocations: 277.7 kB / 412.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.3805, allocations: 134.2 kB / 412.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/0.3806, allocations: 29.77 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.3807, allocations: 19.97 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.3807, allocations: 30.56 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3807, allocations: 0 / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002432/0.3809, allocations: 77.59 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.432e-05/0.381, allocations: 81.11 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3811, allocations: 144.7 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3812, allocations: 25.7 kB / 412.8 MB, free: 13.28 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.3812, allocations: 96.03 kB / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.3812, allocations: 0 / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.3813, allocations: 17.72 kB / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3814, allocations: 322.7 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.5e-05/0.3814, allocations: 12 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.3815, allocations: 39.36 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/0.3816, allocations: 47.36 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3816, allocations: 0 / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000136/0.3817, allocations: 73.52 kB / 413.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3818, allocations: 8 kB / 413.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3818, allocations: 0 / 413.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3818, allocations: 0 / 413.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.3819, allocations: 8 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3819, allocations: 0 / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.356e-05/0.3819, allocations: 11.92 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3819, allocations: 8 kB / 413.4 MB, free: 12.6 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.92e-05/0.3821, allocations: 129.8 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-05/0.3821, allocations: 49.59 kB / 413.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.3822, allocations: 12.25 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.3822, allocations: 0 / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3822, allocations: 0 / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3822, allocations: 0 / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.3824, allocations: 177.6 kB / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3824, allocations: 0 / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.3825, allocations: 11.94 kB / 413.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3825, allocations: 0 / 413.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3825, allocations: 8 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3825, allocations: 3.984 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3825, allocations: 4 kB / 413.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.3827, allocations: 172.2 kB / 413.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.787e-05/0.3828, allocations: 93 kB / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.3828, allocations: 0 / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.3829, allocations: 8 kB / 414 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.383, allocations: 0 / 414 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.383, allocations: 0 / 414 MB, free: 11.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.29e-05/0.383, allocations: 109.5 kB / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.383, allocations: 4 kB / 414.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.3833, allocations: 4 kB / 414.2 MB, free: 11.72 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.0004757/0.3838, allocations: 0.7057 MB / 414.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001579/0.3839, allocations: 43.84 kB / 414.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3839, allocations: 0 / 414.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.384, allocations: 4 kB / 414.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.3843, allocations: 20.52 kB / 414.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.3857, allocations: 1.381 MB / 416.3 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.386, allocations: 0.6885 MB / 417 MB, free: 8.723 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.379e-05/0.386, allocations: 4 kB / 417 MB, free: 8.719 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.3861, allocations: 19.42 kB / 417 MB, free: 8.699 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3861, allocations: 0 / 417 MB, free: 8.699 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.4047, allocations: 1.59 MB / 418.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.993/8.397, allocations: 15.97 kB / 418.6 MB, free: 7.191 MB / 334.1 MB (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 --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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches