Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002595/0.002595, allocations: 181.3 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 43.92 kB / 370.4 MB, free: 9.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3658, allocations: 52.19 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.00316/0.3689, allocations: 1.516 MB / 424.1 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.3698, allocations: 457.4 kB / 424.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.3698, allocations: 0 / 424.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.982e-05/0.3699, allocations: 3.938 kB / 424.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.37, allocations: 19.86 kB / 424.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.3702, allocations: 31.91 kB / 424.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.3703, allocations: 67.77 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.959e-05/0.3703, allocations: 7.938 kB / 424.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.3705, allocations: 31.86 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.199e-05/0.3706, allocations: 31.89 kB / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.3706, allocations: 4 kB / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.3706, allocations: 4 kB / 424.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.861e-05/0.3707, allocations: 15.92 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.641e-05/0.3707, allocations: 27.86 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.3709, allocations: 59.55 kB / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3709, allocations: 0 / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3709, allocations: 0 / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.443e-06/0.3709, allocations: 0 / 424.9 MB, free: 12.36 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006966/0.3716, allocations: 318.6 kB / 425.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3716, allocations: 8.031 kB / 425.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.3717, allocations: 30.75 kB / 425.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.3717, allocations: 12.89 kB / 425.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.3718, allocations: 125.6 kB / 425.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.3718, allocations: 8.125 kB / 425.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.3719, allocations: 0 / 425.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.3721, allocations: 92.09 kB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3721, allocations: 0 / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3721, allocations: 4 kB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3722, allocations: 4 kB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.3724, allocations: 55.94 kB / 425.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.3726, allocations: 158.5 kB / 425.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.3729, allocations: 103.7 kB / 425.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.373, allocations: 58.52 kB / 425.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.373, allocations: 7.984 kB / 425.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3731, allocations: 34.56 kB / 425.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3731, allocations: 0 / 425.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005327/0.3736, allocations: 145.7 kB / 426 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.3737, allocations: 110.8 kB / 426.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3738, allocations: 126.1 kB / 426.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3738, allocations: 25.7 kB / 426.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.3739, allocations: 92.14 kB / 426.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.3739, allocations: 7.906 kB / 426.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.374, allocations: 21.7 kB / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3741, allocations: 326.9 kB / 426.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.3742, allocations: 27.97 kB / 426.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.3744, allocations: 46.55 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.3746, allocations: 82.45 kB / 426.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3746, allocations: 3.938 kB / 426.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003001/0.3749, allocations: 113.6 kB / 427 MB, free: 9.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3749, allocations: 7.281 kB / 427 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.375, allocations: 0 / 427 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.375, allocations: 4 kB / 427 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.3751, allocations: 19.97 kB / 427 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3751, allocations: 4 kB / 427 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.426e-05/0.3752, allocations: 19.88 kB / 427 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.3752, allocations: 0 / 427 MB, free: 9.945 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.0001098/0.3753, allocations: 125.8 kB / 427.2 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.3754, allocations: 7.953 kB / 427.2 MB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.3754, allocations: 15.95 kB / 427.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3754, allocations: 0 / 427.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3754, allocations: 0 / 427.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3754, allocations: 0 / 427.2 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.3755, allocations: 152.7 kB / 427.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3755, allocations: 0 / 427.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.3757, allocations: 19.92 kB / 427.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.3757, allocations: 8 kB / 427.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3757, allocations: 3.984 kB / 427.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3757, allocations: 3.938 kB / 427.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3757, allocations: 0 / 427.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/0.376, allocations: 146.7 kB / 427.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.376, allocations: 0 / 427.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3761, allocations: 4 kB / 427.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.3762, allocations: 19.92 kB / 427.5 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.3762, allocations: 7.922 kB / 427.5 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3762, allocations: 4 kB / 427.5 MB, free: 9.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.934e-05/0.3763, allocations: 95.27 kB / 427.6 MB, free: 9.262 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3763, allocations: 0 / 427.6 MB, free: 9.262 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001917/0.3765, allocations: 16 kB / 427.6 MB, free: 9.246 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.000641/0.3771, allocations: 0.6726 MB / 428.3 MB, free: 8.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.3774, allocations: 75.86 kB / 428.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3775, allocations: 0 / 428.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.3776, allocations: 40.22 kB / 428.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.3777, allocations: 11.8 kB / 428.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.3784, allocations: 222.7 kB / 428.7 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3787, allocations: 0.6922 MB / 429.4 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.431e-05/0.3788, allocations: 8.234 kB / 429.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.268e-05/0.3788, allocations: 23.42 kB / 429.4 MB, free: 7.406 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3788, allocations: 0 / 429.4 MB, free: 7.406 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.4097, allocations: 1.827 MB / 431.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.31, allocations: 6.219 kB / 431.2 MB, free: 5.695 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.CompareSincExpSine.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.98940433212556]