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.001238/0.001238, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001367/0.001367, allocations: 188.9 kB / 24.49 MB, free: 3.98 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.388/1.388, allocations: 225.7 MB / 253.3 MB, free: 12.87 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 47.92 kB / 371.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2484, allocations: 52.19 MB / 423.3 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002732/0.2511, allocations: 1.47 MB / 424.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007106/0.2518, allocations: 417.5 kB / 425.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.837e-05/0.2519, allocations: 3.938 kB / 425.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.2519, allocations: 7.938 kB / 425.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.955e-05/0.252, allocations: 11.86 kB / 425.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.2522, allocations: 35.91 kB / 425.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.2523, allocations: 63.77 kB / 425.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.161e-05/0.2523, allocations: 15.78 kB / 425.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.2525, allocations: 27.86 kB / 425.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.2525, allocations: 35.84 kB / 425.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2526, allocations: 4 kB / 425.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.516e-05/0.2526, allocations: 4 kB / 425.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.2526, allocations: 19.91 kB / 425.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.2526, allocations: 11.94 kB / 425.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.2528, allocations: 62.05 kB / 425.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2528, allocations: 0 / 425.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2528, allocations: 0 / 425.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.2528, allocations: 0 / 425.5 MB, free: 12.23 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.0006272/0.2534, allocations: 322 kB / 425.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2535, allocations: 12.03 kB / 425.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.535e-05/0.2535, allocations: 192 / 425.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.2535, allocations: 34.69 kB / 425.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.899e-05/0.2535, allocations: 8.891 kB / 425.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2536, allocations: 130.3 kB / 426 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.2537, allocations: 11.94 kB / 426 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.2537, allocations: 0 / 426 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.2539, allocations: 84.22 kB / 426.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2539, allocations: 7.938 kB / 426.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.2539, allocations: 0 / 426.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.254, allocations: 3.984 kB / 426.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.2542, allocations: 59.94 kB / 426.2 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.2544, allocations: 158.5 kB / 426.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.2547, allocations: 99.75 kB / 426.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.2548, allocations: 42.61 kB / 426.5 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.2549, allocations: 7.938 kB / 426.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.2549, allocations: 34.56 kB / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.81e-07/0.2549, allocations: 0 / 426.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005142/0.2554, allocations: 141.5 kB / 426.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.2555, allocations: 107.2 kB / 426.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.2556, allocations: 134 kB / 426.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.2556, allocations: 29.7 kB / 426.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.889e-05/0.2557, allocations: 84.14 kB / 427 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.2557, allocations: 19.89 kB / 427 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/0.2558, allocations: 13.72 kB / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.256, allocations: 318.8 kB / 427.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.2561, allocations: 27.97 kB / 427.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.2562, allocations: 46.55 kB / 427.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.2565, allocations: 94.39 kB / 427.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2565, allocations: 0 / 427.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003138/0.2568, allocations: 113.5 kB / 427.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2568, allocations: 8 kB / 427.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2568, allocations: 0 / 427.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2569, allocations: 0 / 427.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.257, allocations: 19.97 kB / 427.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.257, allocations: 4 kB / 427.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.281e-05/0.2571, allocations: 11.92 kB / 427.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2571, allocations: 4 kB / 427.7 MB, free: 9.812 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.9e-05/0.2572, allocations: 121.9 kB / 427.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.2572, allocations: 11.94 kB / 427.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.2573, allocations: 11.91 kB / 427.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2573, allocations: 4 kB / 427.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2573, allocations: 0 / 427.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2573, allocations: 0 / 427.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.2574, allocations: 152.6 kB / 428 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2574, allocations: 0 / 428 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.2576, allocations: 19.92 kB / 428 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2576, allocations: 0 / 428 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.2576, allocations: 11.98 kB / 428 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.2576, allocations: 0 / 428 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2576, allocations: 0 / 428 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000361/0.2579, allocations: 142.7 kB / 428.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.258, allocations: 4 kB / 428.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.258, allocations: 8 kB / 428.1 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.2581, allocations: 15.98 kB / 428.2 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.2581, allocations: 7.922 kB / 428.2 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2581, allocations: 4 kB / 428.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.05e-05/0.2582, allocations: 102.6 kB / 428.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2582, allocations: 0 / 428.3 MB, free: 9.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.2584, allocations: 8 kB / 428.3 MB, free: 9.121 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.0006772/0.2591, allocations: 0.6765 MB / 429 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.2594, allocations: 71.86 kB / 429 MB, free: 8.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2594, allocations: 4 kB / 429 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.2596, allocations: 35.91 kB / 429.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.2597, allocations: 10.88 kB / 429.1 MB, free: 8.293 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.2604, allocations: 222.8 kB / 429.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.369e-05/0.2605, allocations: 75.19 kB / 429.4 MB, free: 7.938 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.093e-05/0.2606, allocations: 12.11 kB / 429.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.2606, allocations: 27.42 kB / 429.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2606, allocations: 0 / 429.4 MB, free: 7.898 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.2836, allocations: 1.887 MB / 431.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.94, allocations: 6.641 kB / 431.3 MB, free: 6.145 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.444173334049992]