Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 124.7 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.92 kB / 365.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.09998, allocations: 52.14 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.005935/0.1059, allocations: 4.458 MB / 422.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.1084, allocations: 1.226 MB / 423.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.1086, allocations: 11.94 kB / 423.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004692/0.1091, allocations: 146.7 kB / 423.7 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.1096, allocations: 206.3 kB / 423.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.11, allocations: 199.6 kB / 424.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000791/0.1108, allocations: 0.7552 MB / 424.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.1111, allocations: 194.6 kB / 425 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.1115, allocations: 290.9 kB / 425.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.1118, allocations: 326.5 kB / 425.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.814e-05/0.1119, allocations: 64 kB / 425.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.112, allocations: 64 kB / 425.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1122, allocations: 147.5 kB / 425.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.1125, allocations: 334.3 kB / 426.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007758/0.1133, allocations: 0.7546 MB / 427 MB, free: 3.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1133, allocations: 0 / 427 MB, free: 3.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1133, allocations: 0 / 427 MB, free: 3.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.1133, allocations: 4 kB / 427 MB, free: 3.398 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001754/0.1151, allocations: 0.962 MB / 427.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1151, allocations: 8.031 kB / 427.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.1152, allocations: 102.7 kB / 428 MB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.1153, allocations: 80.47 kB / 428.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.1159, allocations: 410.2 kB / 428.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.1159, allocations: 45.62 kB / 428.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.746e-05/0.116, allocations: 60.12 kB / 428.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009488/0.1169, allocations: 0.5456 MB / 429.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.117, allocations: 11.94 kB / 429.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.117, allocations: 24 kB / 429.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.117, allocations: 12 kB / 429.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008541/0.1179, allocations: 413 kB / 429.6 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.1208, allocations: 1.825 MB / 431.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008231/0.1217, allocations: 0.5025 MB / 431.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009801/0.1226, allocations: 421.6 kB / 432.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.748e-05/0.1227, allocations: 4.328 kB / 432.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005614/0.1232, allocations: 298.2 kB / 432.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.844e-06/0.1232, allocations: 0 / 432.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.003936/0.1272, allocations: 1.299 MB / 433.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.1273, allocations: 247.3 kB / 434.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000549/0.1279, allocations: 429.9 kB / 434.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.091e-05/0.1279, allocations: 33.7 kB / 434.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.1281, allocations: 308.8 kB / 434.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.1283, allocations: 150.7 kB / 435.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.1284, allocations: 98.2 kB / 435.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1286, allocations: 354.8 kB / 435.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.1289, allocations: 153 kB / 435.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/0.1294, allocations: 321.6 kB / 436 MB, free: 9.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.1302, allocations: 451.2 kB / 436.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1302, allocations: 0 / 436.4 MB, free: 9.406 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001781/0.132, allocations: 0.7714 MB / 437.2 MB, free: 8.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.132, allocations: 8 kB / 437.2 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.132, allocations: 4 kB / 437.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006882/0.1327, allocations: 218.8 kB / 437.4 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.133, allocations: 75.83 kB / 437.5 MB, free: 8.324 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005036/0.138, allocations: 3.135 MB / 440.6 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.1385, allocations: 79.59 kB / 440.7 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.1386, allocations: 23.98 kB / 440.7 MB, free: 4.953 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.0002828/0.1388, allocations: 185.7 kB / 440.9 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.1389, allocations: 51.72 kB / 441 MB, free: 4.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.86e-05/0.139, allocations: 52.88 kB / 441 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.139, allocations: 8.031 kB / 441 MB, free: 4.652 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.139, allocations: 3.984 kB / 441 MB, free: 4.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.139, allocations: 4 kB / 441 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.1413, allocations: 1.273 MB / 442.3 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1413, allocations: 3.938 kB / 442.3 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1415, allocations: 39.92 kB / 442.3 MB, free: 3.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005936/0.1421, allocations: 218.1 kB / 442.6 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.1421, allocations: 15.98 kB / 442.6 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1865/0.3286, allocations: 3.043 MB / 445.6 MB, free: 29.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3286, allocations: 0 / 445.6 MB, free: 29.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.3305, allocations: 0.9294 MB / 446.5 MB, free: 29.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.3306, allocations: 132.2 kB / 446.7 MB, free: 29.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.3307, allocations: 6.75 kB / 446.7 MB, free: 29.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.331, allocations: 48.38 kB / 446.7 MB, free: 29.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.3311, allocations: 34.38 kB / 446.8 MB, free: 29.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.3312, allocations: 10.16 kB / 446.8 MB, free: 29.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000323/0.3315, allocations: 300.8 kB / 447.1 MB, free: 29.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3315, allocations: 2.781 kB / 447.1 MB, free: 29.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006414/0.3321, allocations: 183.4 kB / 447.3 MB, free: 29.08 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.001857/0.334, allocations: 1.481 MB / 448.7 MB, free: 28.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.3353, allocations: 0.6443 MB / 449.4 MB, free: 28.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3353, allocations: 4.344 kB / 449.4 MB, free: 28.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005978/0.3359, allocations: 409.8 kB / 449.8 MB, free: 28.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.3364, allocations: 86.75 kB / 449.9 MB, free: 28.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007153/0.3435, allocations: 4.888 MB / 454.8 MB, free: 26.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3439, allocations: 0.8696 MB / 455.6 MB, free: 25.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.3441, allocations: 52.14 kB / 455.7 MB, free: 25.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.3443, allocations: 180.7 kB / 455.9 MB, free: 25.57 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3443, allocations: 0 / 455.9 MB, free: 25.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04916/0.3934, allocations: 12.38 MB / 468.2 MB, free: 22.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.02, allocations: 23.16 kB / 468.3 MB, free: 22.39 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_DifferentialAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.98141578771174]