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.001752/0.001752, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001549/0.001549, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9458/0.9458, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 2.044e-06/2.044e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.736e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.001789/0.001817, allocations: 1.496 MB / 326 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000589/0.002406, allocations: 478.7 kB / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.002458, allocations: 0 / 326.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.002488, allocations: 11.86 kB / 326.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.927e-05/0.002568, allocations: 15.81 kB / 326.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.00277, allocations: 43.81 kB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.002885, allocations: 75.66 kB / 326.7 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.002927, allocations: 8.172 kB / 326.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.003106, allocations: 43.89 kB / 326.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.003155, allocations: 31.91 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.003171, allocations: 4 kB / 326.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.413e-05/0.003225, allocations: 15.92 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.003239, allocations: 11.98 kB / 326.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.003263, allocations: 19.94 kB / 326.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.003381, allocations: 59.78 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.003384, allocations: 7.938 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.003386, allocations: 0 / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.00339, allocations: 0 / 326.9 MB, free: 13.62 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004254/0.003816, allocations: 325.3 kB / 327.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.003856, allocations: 12.03 kB / 327.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.003885, allocations: 30.75 kB / 327.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.004071, allocations: 32.86 kB / 327.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.004263, allocations: 129.7 kB / 327.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.00427, allocations: 384 / 327.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.00428, allocations: 384 / 327.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.004452, allocations: 96.77 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.00446, allocations: 4.125 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.004471, allocations: 3.938 kB / 327.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.004476, allocations: 0 / 327.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.004615, allocations: 63.92 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.004761, allocations: 150.5 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.004914, allocations: 99.75 kB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.922e-05/0.004993, allocations: 58.59 kB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.005012, allocations: 3.938 kB / 327.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.005033, allocations: 34.56 kB / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.005034, allocations: 0 / 327.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003137/0.005348, allocations: 141.5 kB / 328 MB, free: 12.28 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.005391, allocations: 106.8 kB / 328.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.005474, allocations: 133.3 kB / 328.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.005485, allocations: 37.58 kB / 328.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.005521, allocations: 88.14 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.005549, allocations: 16.22 kB / 328.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.425e-05/0.005583, allocations: 21.7 kB / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.005663, allocations: 322.8 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.558e-05/0.005739, allocations: 27.97 kB / 328.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.067e-05/0.00581, allocations: 46.55 kB / 328.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.005961, allocations: 86.45 kB / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.005963, allocations: 0 / 328.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001789/0.006142, allocations: 113.5 kB / 329 MB, free: 11.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.006159, allocations: 7.938 kB / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.006165, allocations: 4 kB / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.006179, allocations: 4.094 kB / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.006267, allocations: 19.97 kB / 329 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.006273, allocations: 0 / 329 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.006318, allocations: 11.98 kB / 329 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.006325, allocations: 3.984 kB / 329 MB, free: 11.17 MB / 298.7 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 6.74e-05/0.006393, allocations: 113.8 kB / 329.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.006405, allocations: 7.953 kB / 329.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.006433, allocations: 23.84 kB / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.006435, allocations: 0 / 329.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.006441, allocations: 8 kB / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006444, allocations: 0 / 329.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.482e-05/0.006539, allocations: 140.7 kB / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.00654, allocations: 0 / 329.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.006595, allocations: 27.91 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.006596, allocations: 0 / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.006605, allocations: 3.938 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.006606, allocations: 4 kB / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006608, allocations: 0 / 329.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.00681, allocations: 142.8 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-06/0.00682, allocations: 3.953 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.006835, allocations: 7.938 kB / 329.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.959e-05/0.006875, allocations: 11.98 kB / 329.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.006918, allocations: 11.92 kB / 329.5 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.006923, allocations: 7.938 kB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.322e-05/0.006966, allocations: 99.17 kB / 329.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006966, allocations: 4 kB / 329.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.007113, allocations: 12 kB / 329.7 MB, free: 10.48 MB / 298.7 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.000362/0.007475, allocations: 0.6689 MB / 330.3 MB, free: 9.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.007666, allocations: 79.92 kB / 330.4 MB, free: 9.695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007668, allocations: 0 / 330.4 MB, free: 9.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.007747, allocations: 47.83 kB / 330.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.007883, allocations: 4 kB / 330.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.009251, allocations: 1.464 MB / 331.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.062e-05/0.009302, allocations: 75.2 kB / 332 MB, free: 7.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.166e-05/0.009344, allocations: 7.984 kB / 332 MB, free: 7.973 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.009396, allocations: 16.5 kB / 332 MB, free: 7.957 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.009396, allocations: 0 / 332 MB, free: 7.957 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01688/0.02628, allocations: 2.401 MB / 334.4 MB, free: 5.66 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.644/6.671, allocations: 17.03 kB / 334.4 MB, free: 5.648 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/CompareSincExpSine/CompareSincExpSine.csv","/var/lib/jenkins/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: 8.497928747907281]