Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.0009882/0.0009882, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009726/0.0009726, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8904/0.8904, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.868e-05, allocations: 2.281 kB / 324.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003546/0.003565, allocations: 4.063 MB / 328.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.005369, allocations: 1.23 MB / 329.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002483/0.005617, allocations: 11.94 kB / 329.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.005955, allocations: 138.7 kB / 330.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.006264, allocations: 218.1 kB / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004171/0.006681, allocations: 231.4 kB / 330.5 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005821/0.007263, allocations: 0.7898 MB / 331.3 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.007522, allocations: 179 kB / 331.5 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004823/0.008004, allocations: 447 kB / 331.9 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.008248, allocations: 235.2 kB / 332.1 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.148e-05/0.008309, allocations: 64 kB / 332.2 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.623e-05/0.008396, allocations: 71.98 kB / 332.3 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.008518, allocations: 155.3 kB / 332.4 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.008678, allocations: 235.4 kB / 332.6 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005422/0.00922, allocations: 0.7748 MB / 333.4 MB, free: 7.043 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.009224, allocations: 0 / 333.4 MB, free: 7.043 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.009225, allocations: 0 / 333.4 MB, free: 7.043 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.009234, allocations: 0 / 333.4 MB, free: 7.043 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001109/0.01034, allocations: 0.9569 MB / 334.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.01039, allocations: 12.03 kB / 334.4 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.01046, allocations: 94.7 kB / 334.5 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.01064, allocations: 96.45 kB / 334.6 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.01102, allocations: 359.5 kB / 334.9 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.01104, allocations: 37.69 kB / 335 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.0111, allocations: 56.38 kB / 335 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/0.01176, allocations: 0.7297 MB / 335.7 MB, free: 4.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.01178, allocations: 3.938 kB / 335.8 MB, free: 4.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.01181, allocations: 24 kB / 335.8 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.01182, allocations: 12 kB / 335.8 MB, free: 4.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/0.01238, allocations: 417 kB / 336.2 MB, free: 4.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.01417, allocations: 1.639 MB / 337.8 MB, free: 2.418 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005304/0.0147, allocations: 349.1 kB / 338.2 MB, free: 2.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005948/0.0153, allocations: 425 kB / 338.6 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.01533, allocations: 8.312 kB / 338.6 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004084/0.01574, allocations: 482.1 kB / 339.1 MB, free: 1.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=41): time 2.185e-06/0.01574, allocations: 0 / 339.1 MB, free: 1.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=41): time 0.001883/0.01762, allocations: 1.102 MB / 340.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.01774, allocations: 243.3 kB / 340.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.01812, allocations: 441.8 kB / 340.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.01815, allocations: 37.7 kB / 340.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.01834, allocations: 312.8 kB / 341.2 MB, free: 14.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.768e-05/0.01841, allocations: 150.7 kB / 341.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.962e-05/0.01851, allocations: 94.14 kB / 341.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.01862, allocations: 354.7 kB / 341.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.01882, allocations: 156.9 kB / 341.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.01914, allocations: 0.4892 MB / 342.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.01961, allocations: 443.2 kB / 342.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.01962, allocations: 4 kB / 342.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009445/0.02056, allocations: 0.7481 MB / 343.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.02058, allocations: 4 kB / 343.6 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.02059, allocations: 4 kB / 343.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/0.021, allocations: 188.7 kB / 343.8 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.02118, allocations: 79.89 kB / 343.9 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.02375, allocations: 2.665 MB / 346.5 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.02402, allocations: 87.59 kB / 346.6 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.02404, allocations: 23.83 kB / 346.6 MB, free: 9.133 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001803/0.02422, allocations: 177.8 kB / 346.8 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.02426, allocations: 51.67 kB / 346.9 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.02432, allocations: 60.91 kB / 346.9 MB, free: 8.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.02432, allocations: 4 kB / 346.9 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.02432, allocations: 0 / 346.9 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.02433, allocations: 11.92 kB / 346.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.0257, allocations: 1.156 MB / 348.1 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.02571, allocations: 7.984 kB / 348.1 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.02582, allocations: 39.98 kB / 348.1 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002956/0.02612, allocations: 184.8 kB / 348.3 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.02613, allocations: 7.984 kB / 348.3 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.02854, allocations: 2.647 MB / 351 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.02854, allocations: 0 / 351 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.02961, allocations: 0.9065 MB / 351.9 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.594e-05/0.02967, allocations: 51.62 kB / 351.9 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.02971, allocations: 15.98 kB / 351.9 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.02988, allocations: 40.03 kB / 352 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.02994, allocations: 35.94 kB / 352 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.02996, allocations: 12 kB / 352 MB, free: 3.539 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002361/0.0302, allocations: 307.1 kB / 352.3 MB, free: 3.242 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0302, allocations: 0 / 352.3 MB, free: 3.242 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004531/0.03065, allocations: 183.6 kB / 352.5 MB, free: 3.062 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/0.03192, allocations: 1.469 MB / 354 MB, free: 1.562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007495/0.03267, allocations: 0.5611 MB / 354.5 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.03267, allocations: 0 / 354.5 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.03303, allocations: 378.6 kB / 354.9 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.03338, allocations: 72.75 kB / 355 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/0.03839, allocations: 4.908 MB / 359.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.03856, allocations: 259.6 kB / 360.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001404/0.0387, allocations: 52.36 kB / 360.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.03886, allocations: 188.4 kB / 360.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.03886, allocations: 4 kB / 360.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.06676, allocations: 12.9 MB / 373.3 MB, free: 14.28 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.69/7.757, allocations: 7.562 kB / 373.3 MB, free: 14.28 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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: 9.47489234432578]