Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.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.001328/0.001328, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001626/0.001626, allocations: 213.4 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.577/1.577, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 47.92 kB / 377.8 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3503, allocations: 53.36 MB / 431.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.003048/0.3534, allocations: 1.531 MB / 432.7 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3544, allocations: 0.5026 MB / 433.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.3545, allocations: 8 kB / 433.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.3545, allocations: 3.938 kB / 433.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.3546, allocations: 15.8 kB / 433.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.3549, allocations: 35.89 kB / 433.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.355, allocations: 71.66 kB / 433.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.3551, allocations: 4.188 kB / 433.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.3552, allocations: 43.89 kB / 433.3 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.636e-05/0.3553, allocations: 39.84 kB / 433.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.3553, allocations: 4 kB / 433.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.595e-05/0.3554, allocations: 15.94 kB / 433.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.291e-05/0.3554, allocations: 15.97 kB / 433.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.3555, allocations: 23.81 kB / 433.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.3556, allocations: 63.58 kB / 433.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3556, allocations: 4 kB / 433.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3556, allocations: 0 / 433.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.82e-06/0.3556, allocations: 0 / 433.5 MB, free: 4.496 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.000654/0.3563, allocations: 318.5 kB / 433.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3563, allocations: 8.031 kB / 433.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.403e-05/0.3564, allocations: 34.73 kB / 433.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/0.3567, allocations: 40.8 kB / 433.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.357, allocations: 118.5 kB / 434 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.357, allocations: 384 / 434 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.357, allocations: 4.375 kB / 434 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.3573, allocations: 96.09 kB / 434.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3573, allocations: 0 / 434.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3573, allocations: 0 / 434.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3573, allocations: 0 / 434.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.3575, allocations: 67.88 kB / 434.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.3578, allocations: 158.5 kB / 434.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.3581, allocations: 107.7 kB / 434.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.3582, allocations: 46.59 kB / 434.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3582, allocations: 11.92 kB / 434.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3583, allocations: 34.56 kB / 434.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3583, allocations: 4 kB / 434.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000568/0.3588, allocations: 141.5 kB / 434.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.3589, allocations: 106.8 kB / 434.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.359, allocations: 129.2 kB / 434.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.359, allocations: 29.7 kB / 434.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.3591, allocations: 92.14 kB / 435 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.3591, allocations: 11.91 kB / 435 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.3592, allocations: 17.7 kB / 435 MB, free: 2.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3593, allocations: 322.8 kB / 435.4 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.3595, allocations: 31.91 kB / 435.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.3596, allocations: 50.55 kB / 435.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.3599, allocations: 82.45 kB / 435.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3599, allocations: 4 kB / 435.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003208/0.3602, allocations: 113.5 kB / 435.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3602, allocations: 4 kB / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3602, allocations: 0 / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3602, allocations: 4 kB / 435.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.3604, allocations: 28.06 kB / 435.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3604, allocations: 0 / 435.7 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.605e-05/0.3605, allocations: 11.98 kB / 435.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3605, allocations: 0 / 435.7 MB, free: 2.059 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 9.85e-05/0.3606, allocations: 113.8 kB / 435.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.119e-05/0.3606, allocations: 11.89 kB / 435.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.3607, allocations: 19.91 kB / 435.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.3607, allocations: 3.938 kB / 435.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3607, allocations: 4 kB / 435.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3607, allocations: 0 / 435.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.3608, allocations: 152.7 kB / 436 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3608, allocations: 3.938 kB / 436 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.361, allocations: 19.97 kB / 436 MB, free: 1.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.361, allocations: 4 kB / 436 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.361, allocations: 0 / 436 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.361, allocations: 0 / 436 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.361, allocations: 4 kB / 436 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.3613, allocations: 150.6 kB / 436.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.3614, allocations: 15.89 kB / 436.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.3614, allocations: 3.984 kB / 436.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.3615, allocations: 15.98 kB / 436.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.3615, allocations: 0 / 436.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.3615, allocations: 7.984 kB / 436.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.384e-05/0.3616, allocations: 99.27 kB / 436.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3616, allocations: 0 / 436.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002038/0.3618, allocations: 12 kB / 436.3 MB, free: 1.348 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.0007281/0.3626, allocations: 0.6725 MB / 437 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.3629, allocations: 75.92 kB / 437.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3629, allocations: 3.938 kB / 437.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.363, allocations: 39.91 kB / 437.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.3632, allocations: 4.5 kB / 437.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.3654, allocations: 1.458 MB / 438.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.3657, allocations: 0.6885 MB / 439.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.718e-05/0.3658, allocations: 12.22 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.91e-05/0.3659, allocations: 19.42 kB / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3659, allocations: 0 / 439.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.3952, allocations: 1.882 MB / 441.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.4, allocations: 10.84 kB / 441.2 MB, free: 12.46 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.CompareSincExpSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 14.114309944212437]