Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 115.6 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 212 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002553, allocations: 59.86 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.386, allocations: 53.36 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003515/0.3896, allocations: 1.606 MB / 432.7 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3908, allocations: 0.5414 MB / 433.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.3909, allocations: 4 kB / 433.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.698e-05/0.391, allocations: 7.875 kB / 433.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.3912, allocations: 11.92 kB / 433.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.3916, allocations: 59.81 kB / 433.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.3917, allocations: 39.86 kB / 433.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3918, allocations: 15.98 kB / 433.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3919, allocations: 27.91 kB / 433.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.392, allocations: 23.86 kB / 433.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.392, allocations: 0 / 433.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.642e-05/0.3921, allocations: 15.94 kB / 433.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.3921, allocations: 15.92 kB / 433.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.3922, allocations: 19.81 kB / 433.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.3924, allocations: 73.3 kB / 433.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3924, allocations: 0 / 433.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3924, allocations: 0 / 433.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.3924, allocations: 0 / 433.6 MB, free: 4.41 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.0005326/0.3929, allocations: 302 kB / 433.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3929, allocations: 8.031 kB / 433.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.393, allocations: 42.73 kB / 433.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.3931, allocations: 12.89 kB / 434 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.3934, allocations: 142.4 kB / 434.1 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3934, allocations: 4.375 kB / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.3934, allocations: 384 / 434.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.3937, allocations: 121.1 kB / 434.2 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3938, allocations: 4 kB / 434.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.3938, allocations: 7.984 kB / 434.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3938, allocations: 0 / 434.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.136e-05/0.3939, allocations: 19.98 kB / 434.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.3942, allocations: 248.7 kB / 434.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.3944, allocations: 57.2 kB / 434.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.681e-05/0.3945, allocations: 25.78 kB / 434.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.3945, allocations: 3.984 kB / 434.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.3945, allocations: 42.5 kB / 434.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3945, allocations: 0 / 434.6 MB, free: 3.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002976/0.3948, allocations: 85.5 kB / 434.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.3949, allocations: 77.11 kB / 434.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.3951, allocations: 142.1 kB / 434.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.3951, allocations: 29.7 kB / 434.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.3951, allocations: 88.09 kB / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.3952, allocations: 0 / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.3952, allocations: 21.7 kB / 435.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3954, allocations: 322.9 kB / 435.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.86e-05/0.3954, allocations: 11.98 kB / 435.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.332e-05/0.3955, allocations: 27.44 kB / 435.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.3956, allocations: 55.36 kB / 435.5 MB, free: 2.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3956, allocations: 3.938 kB / 435.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001455/0.3957, allocations: 73.5 kB / 435.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3957, allocations: 4 kB / 435.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3957, allocations: 0 / 435.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3958, allocations: 4 kB / 435.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.3958, allocations: 12.11 kB / 435.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.3958, allocations: 4 kB / 435.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.3959, allocations: 0 / 435.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.3959, allocations: 4 kB / 435.6 MB, free: 2.191 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.0001013/0.396, allocations: 121.8 kB / 435.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.3961, allocations: 49.59 kB / 435.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.3961, allocations: 16.33 kB / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3961, allocations: 0 / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3961, allocations: 0 / 435.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3961, allocations: 8 kB / 435.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.3963, allocations: 140.7 kB / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3963, allocations: 0 / 435.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.3964, allocations: 11.98 kB / 435.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3964, allocations: 4 kB / 435.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3964, allocations: 4 kB / 435.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3964, allocations: 0 / 435.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3964, allocations: 0 / 435.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.3966, allocations: 180.5 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.101e-05/0.3966, allocations: 19.94 kB / 436.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.3967, allocations: 0 / 436.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.3967, allocations: 7.938 kB / 436.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.3968, allocations: 4 kB / 436.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.3968, allocations: 0 / 436.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.865e-05/0.3968, allocations: 109.7 kB / 436.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3968, allocations: 0 / 436.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.3971, allocations: 15.95 kB / 436.2 MB, free: 1.43 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.0005286/0.3976, allocations: 0.6976 MB / 436.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.3978, allocations: 43.91 kB / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3978, allocations: 0 / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/0.3978, allocations: 4 kB / 437 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.3982, allocations: 23.95 kB / 437 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.3998, allocations: 1.377 MB / 438.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.4003, allocations: 0.6885 MB / 439.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.916e-05/0.4003, allocations: 8 kB / 439.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.4004, allocations: 19.42 kB / 439.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.4004, allocations: 0 / 439.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.4324, allocations: 1.709 MB / 440.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.96, allocations: 6.406 kB / 440.8 MB, free: 12.84 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 14.577033177018166]