Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001311/0.001311, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.001377/0.001377, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.44/1.44, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 67.89 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1245, allocations: 53.32 MB / 426.7 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006138/0.1306, allocations: 4.497 MB / 431.2 MB, free: 460 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.1332, allocations: 1.285 MB / 432.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.1335, allocations: 15.94 kB / 432.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.1339, allocations: 150.8 kB / 432.7 MB, free: 15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.1344, allocations: 210.2 kB / 432.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.1349, allocations: 207.6 kB / 433.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007958/0.1357, allocations: 0.7707 MB / 433.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003592/0.1361, allocations: 198.6 kB / 434 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004021/0.1365, allocations: 286.9 kB / 434.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.1369, allocations: 330.5 kB / 434.6 MB, free: 13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.137, allocations: 68 kB / 434.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1371, allocations: 72 kB / 434.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.1372, allocations: 155.3 kB / 434.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.1376, allocations: 342.3 kB / 435.3 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008528/0.1384, allocations: 0.7547 MB / 436 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1384, allocations: 0 / 436 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1384, allocations: 0 / 436 MB, free: 11.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1384, allocations: 0 / 436 MB, free: 11.62 MB / 366.1 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.001817/0.1403, allocations: 0.9852 MB / 437 MB, free: 10.58 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1403, allocations: 15.97 kB / 437 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000114/0.1404, allocations: 94.7 kB / 437.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/0.1407, allocations: 100.4 kB / 437.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006026/0.1413, allocations: 422.2 kB / 437.6 MB, free: 9.918 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.1414, allocations: 41.69 kB / 437.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.654e-05/0.1415, allocations: 56.12 kB / 437.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.1425, allocations: 0.5495 MB / 438.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1425, allocations: 4 kB / 438.3 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.1425, allocations: 23.98 kB / 438.3 MB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.1426, allocations: 16 kB / 438.3 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008666/0.1434, allocations: 417 kB / 438.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003085/0.1465, allocations: 1.821 MB / 440.5 MB, free: 6.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008755/0.1474, allocations: 0.5083 MB / 441 MB, free: 6.348 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009836/0.1484, allocations: 413 kB / 441.4 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.1484, allocations: 8.328 kB / 441.4 MB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005814/0.149, allocations: 305.9 kB / 441.7 MB, free: 5.598 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.149, allocations: 0 / 441.7 MB, free: 5.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.003906/0.1529, allocations: 1.294 MB / 443 MB, free: 4.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001689/0.1531, allocations: 247.3 kB / 443.3 MB, free: 3.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006269/0.1537, allocations: 441.8 kB / 443.7 MB, free: 3.539 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.1537, allocations: 33.7 kB / 443.7 MB, free: 3.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002877/0.154, allocations: 320.8 kB / 444.1 MB, free: 3.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.1542, allocations: 138.8 kB / 444.2 MB, free: 3.043 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/0.1543, allocations: 90.25 kB / 444.3 MB, free: 2.949 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.1545, allocations: 354.8 kB / 444.6 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.1549, allocations: 157 kB / 444.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.1554, allocations: 325.5 kB / 445.1 MB, free: 2.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007719/0.1562, allocations: 443.3 kB / 445.5 MB, free: 1.566 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1562, allocations: 11.94 kB / 445.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001766/0.1579, allocations: 0.7716 MB / 446.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1579, allocations: 8 kB / 446.3 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.158, allocations: 4 kB / 446.3 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007121/0.1587, allocations: 212.7 kB / 446.5 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.159, allocations: 79.83 kB / 446.6 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2223/0.3813, allocations: 3.126 MB / 449.7 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.3818, allocations: 79.16 kB / 449.8 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.3818, allocations: 22.08 kB / 449.8 MB, free: 22.71 MB / 366.1 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 (42): * Single equations (assignments): 41 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.382, allocations: 184.4 kB / 450 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.3821, allocations: 52.75 kB / 450.1 MB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.902e-05/0.3822, allocations: 56.06 kB / 450.1 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3822, allocations: 4.188 kB / 450.1 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3822, allocations: 1.094 kB / 450.1 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3822, allocations: 6.297 kB / 450.1 MB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.3842, allocations: 1.273 MB / 451.4 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3842, allocations: 3.219 kB / 451.4 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.3844, allocations: 41.64 kB / 451.5 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005697/0.385, allocations: 212.3 kB / 451.7 MB, free: 22.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.385, allocations: 12.95 kB / 451.7 MB, free: 22.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003791/0.3888, allocations: 3.052 MB / 454.7 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3888, allocations: 0 / 454.7 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.3907, allocations: 0.929 MB / 455.7 MB, free: 19.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3908, allocations: 131.8 kB / 455.8 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.556e-05/0.3909, allocations: 12.25 kB / 455.8 MB, free: 19.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.3912, allocations: 41.45 kB / 455.8 MB, free: 19.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.3913, allocations: 39.42 kB / 455.9 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.3913, allocations: 8.375 kB / 455.9 MB, free: 19.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003651/0.3917, allocations: 306.9 kB / 456.2 MB, free: 19.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3917, allocations: 0 / 456.2 MB, free: 19.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006815/0.3924, allocations: 185.4 kB / 456.4 MB, free: 19.34 MB / 366.1 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 (21): * Single equations (assignments): 19 * 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,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002239/0.3946, allocations: 1.488 MB / 457.9 MB, free: 18.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.3963, allocations: 0.6549 MB / 458.5 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3963, allocations: 0 / 458.5 MB, free: 18.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007012/0.397, allocations: 411.2 kB / 458.9 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.3976, allocations: 89.41 kB / 459 MB, free: 17.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007424/0.405, allocations: 4.947 MB / 463.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.4054, allocations: 0.8645 MB / 464.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.4056, allocations: 46.66 kB / 464.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.4058, allocations: 184 kB / 465 MB, free: 14.31 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4058, allocations: 0 / 465 MB, free: 14.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06195/0.4678, allocations: 12.57 MB / 477.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.78, allocations: 13.03 kB / 477.6 MB, free: 10.19 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 15.320354287978262]