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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009501/0.0009501, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009484/0.0009484, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8849/0.8849, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 324.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.929e-05, allocations: 3.266 kB / 324.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001864/0.001884, allocations: 1.599 MB / 326.1 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007221/0.002606, allocations: 0.4947 MB / 326.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.684e-05/0.002693, allocations: 4 kB / 326.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.6e-05/0.002739, allocations: 7.875 kB / 326.6 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.002883, allocations: 11.91 kB / 326.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.003171, allocations: 51.77 kB / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.003278, allocations: 51.78 kB / 326.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.003381, allocations: 12 kB / 326.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.003505, allocations: 35.89 kB / 326.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.003549, allocations: 15.92 kB / 326.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.003563, allocations: 4 kB / 326.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.322e-05/0.003597, allocations: 4 kB / 326.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.637e-05/0.003643, allocations: 19.91 kB / 326.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.003672, allocations: 15.94 kB / 326.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.003791, allocations: 55.73 kB / 326.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003792, allocations: 0 / 326.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.003793, allocations: 0 / 326.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.003797, allocations: 4 kB / 326.9 MB, free: 13.35 MB / 298.7 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.0003481/0.004145, allocations: 306 kB / 327.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.004182, allocations: 11.98 kB / 327.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.734e-05/0.004209, allocations: 34.75 kB / 327.3 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.478e-05/0.004304, allocations: 16.88 kB / 327.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.004476, allocations: 141.5 kB / 327.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.004486, allocations: 8.375 kB / 327.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-06/0.004495, allocations: 4.375 kB / 327.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.004726, allocations: 117.6 kB / 327.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.004734, allocations: 192 / 327.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.004743, allocations: 4.125 kB / 327.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.004748, allocations: 3.938 kB / 327.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.634e-05/0.004794, allocations: 23.92 kB / 327.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/0.005055, allocations: 236.8 kB / 327.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.005205, allocations: 61.14 kB / 327.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.005247, allocations: 33.7 kB / 327.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.00527, allocations: 4 kB / 327.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.00529, allocations: 30.56 kB / 327.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.005291, allocations: 0 / 327.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001942/0.005485, allocations: 89.72 kB / 328 MB, free: 12.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.543e-05/0.00553, allocations: 81.11 kB / 328.1 MB, free: 11.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.005618, allocations: 141.2 kB / 328.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.005627, allocations: 29.7 kB / 328.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.005664, allocations: 88.12 kB / 328.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.005677, allocations: 3.953 kB / 328.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.0057, allocations: 13.72 kB / 328.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.005776, allocations: 314.8 kB / 328.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.005796, allocations: 7.984 kB / 328.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.515e-05/0.005811, allocations: 11.94 kB / 328.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/0.005847, allocations: 20.91 kB / 328.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005849, allocations: 4 kB / 328.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.832e-05/0.005907, allocations: 57.58 kB / 328.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.00592, allocations: 8 kB / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005925, allocations: 3.984 kB / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.005936, allocations: 0 / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.63e-05/0.005972, allocations: 4 kB / 328.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.005977, allocations: 3.984 kB / 328.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.005992, allocations: 0 / 328.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.005998, allocations: 0 / 328.8 MB, free: 11.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.461e-05/0.006052, allocations: 125.9 kB / 328.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.006093, allocations: 53.53 kB / 329 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.006114, allocations: 8.328 kB / 329 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.006117, allocations: 4 kB / 329 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.006121, allocations: 0 / 329 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.006123, allocations: 0 / 329 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.875e-05/0.006222, allocations: 144.7 kB / 329.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.006224, allocations: 3.938 kB / 329.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/0.006252, allocations: 11.94 kB / 329.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.006253, allocations: 0 / 329.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.00626, allocations: 8 kB / 329.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.006261, allocations: 0 / 329.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.006261, allocations: 0 / 329.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.616e-05/0.006358, allocations: 172.3 kB / 329.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.006383, allocations: 15.88 kB / 329.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.006393, allocations: 0 / 329.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.006425, allocations: 15.92 kB / 329.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.006447, allocations: 0 / 329.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.00645, allocations: 4 kB / 329.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.253e-05/0.006493, allocations: 107.2 kB / 329.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006493, allocations: 4 kB / 329.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001375/0.00663, allocations: 4 kB / 329.5 MB, free: 10.49 MB / 298.7 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.0002392/0.00687, allocations: 0.6976 MB / 330.2 MB, free: 9.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.007103, allocations: 23.98 kB / 330.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.007105, allocations: 0 / 330.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.961e-05/0.007124, allocations: 11.98 kB / 330.2 MB, free: 9.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.007363, allocations: 27.53 kB / 330.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007645/0.008127, allocations: 1.301 MB / 331.5 MB, free: 8.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.233e-05/0.00818, allocations: 86.33 kB / 331.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.05e-05/0.00821, allocations: 288 / 331.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.135e-05/0.008252, allocations: 28.41 kB / 331.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.008252, allocations: 4.031 kB / 331.6 MB, free: 8.184 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.02228, allocations: 2.211 MB / 333.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.59/6.612, allocations: 4 kB / 333.8 MB, free: 6.066 MB / 298.7 MB " [Timeout remaining time 653] (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 --stepSize=3.99122e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 8.23937011603266]