Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.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.001265/0.001265, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001643/0.001643, allocations: 214.9 kB / 24.51 MB, free: 3.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.418/1.418, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.Modulation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Modulation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Modulation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 43.92 kB / 378.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2624, allocations: 53.37 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.003285/0.2657, allocations: 1.916 MB / 433.8 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.2668, allocations: 0.6038 MB / 434.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.2669, allocations: 7.938 kB / 434.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.2671, allocations: 39.53 kB / 434.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.075e-05/0.2672, allocations: 39.59 kB / 434.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.2675, allocations: 87.83 kB / 434.5 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.2678, allocations: 203.2 kB / 434.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.2679, allocations: 52.31 kB / 434.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.2681, allocations: 83.62 kB / 434.9 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2683, allocations: 83.56 kB / 435 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.2683, allocations: 12 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.05e-05/0.2684, allocations: 19.94 kB / 435 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.2684, allocations: 35.84 kB / 435 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.889e-05/0.2685, allocations: 63.55 kB / 435.1 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.2688, allocations: 189.3 kB / 435.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2688, allocations: 4 kB / 435.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2688, allocations: 0 / 435.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.2688, allocations: 4 kB / 435.3 MB, free: 3.215 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007941/0.2696, allocations: 433.1 kB / 435.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.2696, allocations: 8.031 kB / 435.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.11e-05/0.2697, allocations: 4.188 kB / 435.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.2697, allocations: 46.73 kB / 435.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002581/0.27, allocations: 44.78 kB / 435.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.2703, allocations: 182 kB / 436 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.2703, allocations: 12.38 kB / 436 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.2704, allocations: 24.34 kB / 436 MB, free: 2.414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.2707, allocations: 164.1 kB / 436.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2707, allocations: 0 / 436.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.2707, allocations: 4 kB / 436.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.2708, allocations: 4 kB / 436.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.271, allocations: 87.94 kB / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.272, allocations: 0.5895 MB / 436.9 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.2723, allocations: 123.8 kB / 437 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.2724, allocations: 50.69 kB / 437 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.2724, allocations: 3.984 kB / 437 MB, free: 1.293 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.2725, allocations: 46.48 kB / 437.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.2725, allocations: 0 / 437.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005323/0.273, allocations: 173.9 kB / 437.2 MB, free: 1.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.813e-05/0.2731, allocations: 114.8 kB / 437.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.2733, allocations: 229.9 kB / 437.6 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.2734, allocations: 29.7 kB / 437.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/0.2735, allocations: 132.1 kB / 437.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.2735, allocations: 51.53 kB / 437.8 MB, free: 488 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.2736, allocations: 41.62 kB / 437.8 MB, free: 440 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2738, allocations: 330.8 kB / 438.2 MB, free: 100 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.2739, allocations: 40.09 kB / 438.2 MB, free: 60 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.274, allocations: 98.84 kB / 438.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.2743, allocations: 146.7 kB / 438.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2743, allocations: 7.938 kB / 438.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003552/0.2747, allocations: 177.4 kB / 438.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2747, allocations: 8 kB / 438.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2747, allocations: 0 / 438.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2747, allocations: 4 kB / 438.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2749, allocations: 39.86 kB / 438.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2749, allocations: 8.172 kB / 438.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.275, allocations: 19.89 kB / 438.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.275, allocations: 4 kB / 438.7 MB, free: 15.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 17 * 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.0001212/0.2751, allocations: 141.7 kB / 438.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.379e-05/0.2752, allocations: 19.86 kB / 438.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/0.2756, allocations: 178.9 kB / 439 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2756, allocations: 4 kB / 439 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2756, allocations: 0 / 439 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2756, allocations: 4.094 kB / 439 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.276, allocations: 232.5 kB / 439.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.276, allocations: 3.984 kB / 439.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.2762, allocations: 35.92 kB / 439.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2762, allocations: 0 / 439.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.2762, allocations: 11.98 kB / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2762, allocations: 0 / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2762, allocations: 0 / 439.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.2769, allocations: 473.6 kB / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.2769, allocations: 27.92 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.2769, allocations: 8.188 kB / 439.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.2771, allocations: 15.98 kB / 439.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.2772, allocations: 11.98 kB / 439.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.2772, allocations: 7.984 kB / 439.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001806/0.2774, allocations: 173.2 kB / 440 MB, free: 14.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2774, allocations: 0 / 440 MB, free: 14.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.2777, allocations: 39.88 kB / 440.1 MB, free: 14.06 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * 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 (17): * Single equations (assignments): 17 * 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.000874/0.2786, allocations: 1.003 MB / 441.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.2789, allocations: 111.9 kB / 441.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2789, allocations: 0 / 441.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.279, allocations: 59.91 kB / 441.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.2794, allocations: 20.42 kB / 441.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/0.2826, allocations: 2.586 MB / 443.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.2828, allocations: 133.8 kB / 444 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.212e-05/0.2828, allocations: 17.48 kB / 444 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.283, allocations: 79.41 kB / 444.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.283, allocations: 0 / 444.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.309, allocations: 3.911 MB / 448 MB, free: 6.113 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.22, allocations: 12.56 kB / 448 MB, free: 6.109 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Modulation_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Modulation.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Modulation.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.872115907026455]