Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.Modulation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001805, allocations: 105.6 kB / 17.06 MB, free: 6.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 195 kB / 18 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.557/2.557, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 55.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5442/0.5464, allocations: 49.43 MB / 400.2 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Modulation): time 0.007084/0.5535, allocations: 1.991 MB / 402.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.5556, allocations: 0.5726 MB / 402.8 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.5561, allocations: 7.938 kB / 402.8 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.5565, allocations: 39.53 kB / 402.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.5569, allocations: 47.58 kB / 402.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.5574, allocations: 59.88 kB / 402.9 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.558, allocations: 211.2 kB / 403.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.5583, allocations: 72.36 kB / 403.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002712/0.5586, allocations: 71.7 kB / 403.3 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.5589, allocations: 75.56 kB / 403.4 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.559, allocations: 12 kB / 403.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.658e-05/0.559, allocations: 16 kB / 403.4 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-05/0.5591, allocations: 43.78 kB / 403.4 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.5593, allocations: 83.47 kB / 403.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003984/0.5598, allocations: 169 kB / 403.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.5598, allocations: 3.938 kB / 403.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5598, allocations: 0 / 403.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.5598, allocations: 0 / 403.7 MB, free: 5.473 MB / 318.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.00129/0.5611, allocations: 490.5 kB / 404.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.881e-05/0.5612, allocations: 20.02 kB / 404.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.434e-05/0.5613, allocations: 42.75 kB / 404.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.5614, allocations: 24.66 kB / 404.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004632/0.5619, allocations: 235.8 kB / 404.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.562, allocations: 15.94 kB / 404.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-05/0.562, allocations: 12 kB / 404.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.5626, allocations: 172.6 kB / 404.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.5626, allocations: 0 / 404.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.5627, allocations: 12 kB / 404.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.5627, allocations: 0 / 404.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.5631, allocations: 95.27 kB / 404.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.5648, allocations: 0.6409 MB / 405.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004401/0.5653, allocations: 123.8 kB / 405.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.5655, allocations: 50.69 kB / 405.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-05/0.5656, allocations: 15.92 kB / 405.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.727e-05/0.5656, allocations: 38.55 kB / 405.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.475e-06/0.5657, allocations: 0 / 405.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008983/0.5666, allocations: 177.7 kB / 405.8 MB, free: 3.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.5667, allocations: 102.8 kB / 405.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.5671, allocations: 233.1 kB / 406.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.5672, allocations: 33.7 kB / 406.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.5673, allocations: 136 kB / 406.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.846e-05/0.5674, allocations: 43.36 kB / 406.3 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.5676, allocations: 33.7 kB / 406.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.5678, allocations: 334.8 kB / 406.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.568, allocations: 39.97 kB / 406.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.5683, allocations: 90.84 kB / 406.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.5688, allocations: 150.8 kB / 407 MB, free: 1.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.5688, allocations: 7.984 kB / 407 MB, free: 1.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006362/0.5695, allocations: 181.3 kB / 407.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.5695, allocations: 4 kB / 407.2 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.5695, allocations: 4 kB / 407.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.5696, allocations: 0 / 407.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.5699, allocations: 43.91 kB / 407.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5699, allocations: 0 / 407.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.5701, allocations: 19.83 kB / 407.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/0.5702, allocations: 12 kB / 407.2 MB, free: 1.566 MB / 318.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.0002065/0.5704, allocations: 129.8 kB / 407.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.5705, allocations: 19.72 kB / 407.4 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007108/0.5713, allocations: 190.7 kB / 407.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.5713, allocations: 0 / 407.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.5713, allocations: 4 kB / 407.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.5713, allocations: 3.938 kB / 407.6 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008261/0.5722, allocations: 269.5 kB / 407.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.5722, allocations: 0 / 407.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003431/0.5726, allocations: 35.98 kB / 407.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/0.5726, allocations: 4 kB / 407.9 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.5726, allocations: 3.984 kB / 407.9 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.5727, allocations: 7.938 kB / 407.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5727, allocations: 0 / 407.9 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/0.5736, allocations: 477.7 kB / 408.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.5738, allocations: 96.77 kB / 408.5 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.5738, allocations: 8.25 kB / 408.5 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.5742, allocations: 15.98 kB / 408.5 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.5743, allocations: 11.92 kB / 408.5 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.5743, allocations: 4 kB / 408.5 MB, free: 216 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.5746, allocations: 180.3 kB / 408.7 MB, free: 36 kB / 318.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5746, allocations: 0 / 408.7 MB, free: 36 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007149/0.5754, allocations: 40.08 kB / 408.7 MB, free: 15.99 MB / 334.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.001425/0.5768, allocations: 1.007 MB / 409.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005864/0.5774, allocations: 103.9 kB / 409.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5774, allocations: 0 / 409.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.5777, allocations: 75.83 kB / 409.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000746/0.5785, allocations: 19.19 kB / 409.9 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/0.5841, allocations: 2.556 MB / 412.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.5847, allocations: 0.7435 MB / 413.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.5849, allocations: 25.52 kB / 413.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.5851, allocations: 67.41 kB / 413.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5851, allocations: 0 / 413.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.366/3.951, allocations: 3.677 MB / 417 MB, free: 7.59 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.01/29.96, allocations: 19.02 kB / 417 MB, free: 7.574 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Modulation_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Modulation.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Modulation/Modulation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Modulation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches