Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 120.2 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002198/0.002198, allocations: 214.2 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.639/1.639, allocations: 230.4 MB / 254.7 MB, free: 15.04 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Modulation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Modulation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 63.89 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1261, allocations: 53.38 MB / 427.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.004215/0.1304, allocations: 2.017 MB / 429.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1319, allocations: 0.6427 MB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.1322, allocations: 7.938 kB / 429.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.1324, allocations: 43.53 kB / 429.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.1326, allocations: 39.66 kB / 429.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.133, allocations: 83.78 kB / 429.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.1333, allocations: 207.1 kB / 430.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.1335, allocations: 52.38 kB / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.1338, allocations: 79.7 kB / 430.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.134, allocations: 79.5 kB / 430.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.134, allocations: 12 kB / 430.3 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.1341, allocations: 16 kB / 430.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.27e-05/0.1341, allocations: 43.83 kB / 430.4 MB, free: 1.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.3e-05/0.1342, allocations: 87.42 kB / 430.5 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.1345, allocations: 183 kB / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1345, allocations: 0 / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1345, allocations: 0 / 430.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.1345, allocations: 0 / 430.6 MB, free: 1.035 MB / 350.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.0009371/0.1355, allocations: 0.4983 MB / 431.1 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.1355, allocations: 8.031 kB / 431.1 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.21e-05/0.1356, allocations: 12.19 kB / 431.2 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.1356, allocations: 46.73 kB / 431.2 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.1359, allocations: 40.78 kB / 431.2 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004207/0.1363, allocations: 243.9 kB / 431.5 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1363, allocations: 20.3 kB / 431.5 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.1364, allocations: 12.38 kB / 431.5 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.1368, allocations: 168.1 kB / 431.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1368, allocations: 0 / 431.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.1368, allocations: 8 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.1368, allocations: 7.938 kB / 431.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002415/0.137, allocations: 91.94 kB / 431.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1381, allocations: 0.6411 MB / 432.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.1384, allocations: 119.8 kB / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.1385, allocations: 62.67 kB / 432.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1386, allocations: 0 / 432.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1386, allocations: 34.56 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.1386, allocations: 7.875 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005403/0.1391, allocations: 181.5 kB / 432.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.574e-05/0.1392, allocations: 106.8 kB / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.1395, allocations: 234.6 kB / 433.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1395, allocations: 29.7 kB / 433.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1396, allocations: 136.1 kB / 433.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.1396, allocations: 51.52 kB / 433.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.1397, allocations: 37.7 kB / 433.4 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1399, allocations: 334.8 kB / 433.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.14, allocations: 36.48 kB / 433.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.1401, allocations: 102.7 kB / 433.9 MB, free: 13.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.1404, allocations: 146.7 kB / 434 MB, free: 13.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1404, allocations: 4 kB / 434 MB, free: 13.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003673/0.1408, allocations: 185.3 kB / 434.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1408, allocations: 4 kB / 434.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1408, allocations: 4 kB / 434.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1408, allocations: 0 / 434.2 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.141, allocations: 43.91 kB / 434.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.141, allocations: 0 / 434.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.1411, allocations: 16.08 kB / 434.3 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.1411, allocations: 15.98 kB / 434.3 MB, free: 13.07 MB / 366.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.0001273/0.1413, allocations: 133.7 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.1413, allocations: 19.86 kB / 434.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000395/0.1417, allocations: 174.8 kB / 434.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1417, allocations: 4 kB / 434.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1417, allocations: 96 / 434.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.1417, allocations: 11.97 kB / 434.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.1422, allocations: 277.4 kB / 434.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1422, allocations: 0 / 434.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.1424, allocations: 39.92 kB / 434.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1424, allocations: 3.938 kB / 434.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1424, allocations: 4 kB / 434.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.1424, allocations: 3.984 kB / 434.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1424, allocations: 0 / 434.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.143, allocations: 475.8 kB / 435.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.1431, allocations: 100.9 kB / 435.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.1431, allocations: 8 kB / 435.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.1433, allocations: 16.11 kB / 435.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.714e-05/0.1434, allocations: 11.98 kB / 435.5 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1434, allocations: 12 kB / 435.5 MB, free: 11.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001813/0.1436, allocations: 174 kB / 435.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1436, allocations: 0 / 435.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003476/0.1439, allocations: 39.88 kB / 435.7 MB, free: 11.49 MB / 366.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.0009457/0.1449, allocations: 0.9998 MB / 436.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003402/0.1452, allocations: 107.9 kB / 436.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1452, allocations: 0 / 436.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.1453, allocations: 60.28 kB / 436.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.1457, allocations: 28.5 kB / 436.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.149, allocations: 2.58 MB / 439.5 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1494, allocations: 0.7397 MB / 440.3 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.513e-05/0.1495, allocations: 21.48 kB / 440.3 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1496, allocations: 71.39 kB / 440.3 MB, free: 6.695 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1496, allocations: 0 / 440.3 MB, free: 6.695 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.1736, allocations: 3.728 MB / 444.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.536/8.71, allocations: 1.688 kB / 444.1 MB, free: 3.035 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Modulation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Modulation_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Modulation.fmu > Modelica_trunk_Modelica.Blocks.Examples.Modulation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 11.984521732025314]