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.001742/0.001742, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002126/0.002126, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001914, allocations: 63.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3504, allocations: 50.54 MB / 408.8 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003136/0.3536, allocations: 1.581 MB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3547, allocations: 0.5259 MB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.3548, allocations: 4 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.774e-05/0.3549, allocations: 7.922 kB / 411 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.3551, allocations: 11.86 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.3554, allocations: 67.38 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.3556, allocations: 39.86 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.3557, allocations: 19.97 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.3559, allocations: 27.92 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.3e-05/0.356, allocations: 23.86 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.356, allocations: 0 / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.3561, allocations: 11.98 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.899e-05/0.3561, allocations: 11.94 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.3562, allocations: 27.8 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.3564, allocations: 50.77 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3564, allocations: 0 / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.123e-06/0.3565, allocations: 0 / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3565, allocations: 7.875 kB / 411.2 MB, free: 15.04 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.0006581/0.3571, allocations: 391 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.3572, allocations: 11.97 kB / 411.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.449e-05/0.3572, allocations: 34.75 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.3574, allocations: 16.88 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.3578, allocations: 200.2 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3578, allocations: 4.375 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.3578, allocations: 4.375 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.3582, allocations: 125.1 kB / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3582, allocations: 0 / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3582, allocations: 0 / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3583, allocations: 0 / 412 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.965e-05/0.3584, allocations: 23.97 kB / 412 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.3588, allocations: 269.7 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.3591, allocations: 134.3 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.3592, allocations: 33.77 kB / 412.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.3592, allocations: 4 kB / 412.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3592, allocations: 38.5 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.3593, allocations: 0 / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002945/0.3596, allocations: 77.56 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.527e-05/0.3596, allocations: 85.09 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3598, allocations: 144.7 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3599, allocations: 25.7 kB / 412.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.367e-05/0.3599, allocations: 84.14 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.36, allocations: 11.94 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.36, allocations: 21.66 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3602, allocations: 318.8 kB / 413.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.705e-05/0.3603, allocations: 11.98 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.51e-05/0.3603, allocations: 39.42 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.3604, allocations: 47.36 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3605, allocations: 0 / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001515/0.3606, allocations: 73.58 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3606, allocations: 6.969 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.3607, allocations: 7.984 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3607, allocations: 3.938 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.734e-05/0.3608, allocations: 8 kB / 413.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3608, allocations: 0 / 413.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.3608, allocations: 4 kB / 413.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3608, allocations: 3.938 kB / 413.5 MB, free: 12.52 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 0.0001355/0.361, allocations: 129.9 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.329e-05/0.3611, allocations: 53.91 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.3611, allocations: 8.25 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.3611, allocations: 7.938 kB / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3612, allocations: 0 / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3612, allocations: 0 / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.3614, allocations: 169.6 kB / 413.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.3614, allocations: 4 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.449e-05/0.3615, allocations: 7.984 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3615, allocations: 8 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3615, allocations: 0 / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3615, allocations: 0 / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3615, allocations: 0 / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.3617, allocations: 168.3 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.139e-05/0.3618, allocations: 93.05 kB / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.3619, allocations: 4 kB / 414.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.3619, allocations: 11.92 kB / 414.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.362, allocations: 4 kB / 414.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.362, allocations: 0 / 414.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.791e-05/0.3621, allocations: 113.5 kB / 414.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3621, allocations: 0 / 414.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.3623, allocations: 8 kB / 414.2 MB, free: 11.63 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.0006011/0.3629, allocations: 0.7092 MB / 414.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.3632, allocations: 27.92 kB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3632, allocations: 0 / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.3632, allocations: 11.98 kB / 415 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.3636, allocations: 40.2 kB / 415 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3653, allocations: 1.35 MB / 416.4 MB, free: 9.359 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.3657, allocations: 0.6885 MB / 417.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.077e-05/0.3658, allocations: 12.06 kB / 417.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.686e-05/0.3658, allocations: 15.44 kB / 417.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3658, allocations: 0 / 417.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02566/0.3915, allocations: 1.588 MB / 418.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.488/8.88, allocations: 13.66 kB / 418.7 MB, free: 7.117 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.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) Reference file matches