Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001738/0.001738, allocations: 120.4 kB / 20.44 MB, free: 1.461 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.001721/0.001721, allocations: 212.1 kB / 23.74 MB, free: 4.695 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.399/1.399, allocations: 230.5 MB / 257.4 MB, free: 8.199 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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003075/0.003075, allocations: 67.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2745, allocations: 53.4 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002991/0.2775, allocations: 1.584 MB / 432.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.2785, allocations: 0.5414 MB / 433.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.918e-05/0.2786, allocations: 0 / 433.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.471e-05/0.2787, allocations: 3.938 kB / 433.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.2788, allocations: 19.84 kB / 433.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.2791, allocations: 55.83 kB / 433.4 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.2792, allocations: 35.86 kB / 433.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.2793, allocations: 11.98 kB / 433.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.2794, allocations: 35.84 kB / 433.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.605e-05/0.2795, allocations: 15.88 kB / 433.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.2795, allocations: 4 kB / 433.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.818e-05/0.2796, allocations: 4 kB / 433.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.2796, allocations: 11.98 kB / 433.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.2796, allocations: 23.81 kB / 433.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.2798, allocations: 60.09 kB / 433.6 MB, free: 4.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2798, allocations: 4 kB / 433.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2798, allocations: 0 / 433.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2798, allocations: 0 / 433.6 MB, free: 4.262 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004652/0.2803, allocations: 290.1 kB / 433.9 MB, free: 3.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.2803, allocations: 12.03 kB / 433.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.2803, allocations: 34.69 kB / 433.9 MB, free: 3.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.2805, allocations: 16.88 kB / 433.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002652/0.2808, allocations: 149.1 kB / 434.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.2808, allocations: 384 / 434.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.2808, allocations: 4.375 kB / 434.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.281, allocations: 93.17 kB / 434.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.281, allocations: 3.984 kB / 434.2 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2811, allocations: 4 kB / 434.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2811, allocations: 4 kB / 434.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.458e-05/0.2811, allocations: 15.98 kB / 434.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.2815, allocations: 240.7 kB / 434.4 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.517e-05/0.2815, allocations: 37.22 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.2816, allocations: 29.7 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.2816, allocations: 4 kB / 434.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.2816, allocations: 30.56 kB / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2816, allocations: 0 / 434.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002359/0.2819, allocations: 69.78 kB / 434.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.2819, allocations: 89.08 kB / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.2821, allocations: 134.2 kB / 434.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.2821, allocations: 25.7 kB / 434.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.2821, allocations: 92.12 kB / 434.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.2822, allocations: 0 / 434.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.2822, allocations: 25.61 kB / 435 MB, free: 2.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2823, allocations: 318.8 kB / 435.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.149e-05/0.2824, allocations: 12 kB / 435.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/0.2824, allocations: 21.7 kB / 435.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.38e-05/0.2825, allocations: 25.66 kB / 435.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.2825, allocations: 7.984 kB / 435.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001396/0.2826, allocations: 53.75 kB / 435.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2827, allocations: 7.938 kB / 435.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2827, allocations: 0 / 435.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.2827, allocations: 0 / 435.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.533e-05/0.2827, allocations: 8 kB / 435.4 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2827, allocations: 7.984 kB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.2828, allocations: 0 / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.2828, allocations: 4 kB / 435.4 MB, free: 2.191 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.106e-05/0.2829, allocations: 117.8 kB / 435.5 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.2829, allocations: 41.64 kB / 435.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.283, allocations: 15.77 kB / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.283, allocations: 0 / 435.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.283, allocations: 4 kB / 435.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.283, allocations: 0 / 435.6 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.2831, allocations: 144.6 kB / 435.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2831, allocations: 0 / 435.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.2832, allocations: 11.92 kB / 435.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2832, allocations: 4 kB / 435.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.2832, allocations: 32 / 435.8 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2832, allocations: 7.984 kB / 435.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2832, allocations: 0 / 435.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.2834, allocations: 156.3 kB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.2834, allocations: 15.94 kB / 435.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.2834, allocations: 4 kB / 435.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.2835, allocations: 4.031 kB / 435.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.2835, allocations: 7.922 kB / 435.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/0.2835, allocations: 4 kB / 436 MB, free: 1.586 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.966e-05/0.2836, allocations: 106 kB / 436.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2836, allocations: 0 / 436.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.2838, allocations: 4 kB / 436.1 MB, free: 1.48 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 (2): * Single equations (assignments): 2 * 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.000474/0.2843, allocations: 0.6976 MB / 436.8 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.2844, allocations: 23.92 kB / 436.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2844, allocations: 0 / 436.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.765e-05/0.2844, allocations: 11.98 kB / 436.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.2848, allocations: 27.27 kB / 436.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.2861, allocations: 1.308 MB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.2865, allocations: 0.6885 MB / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.937e-05/0.2865, allocations: 4.031 kB / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.2866, allocations: 19.42 kB / 438.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2866, allocations: 0 / 438.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02854/0.3151, allocations: 1.587 MB / 440.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.87, allocations: 22.7 kB / 440.4 MB, free: 13.07 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.171523564960808]