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.001486/0.001486, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.00145/0.00145, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.488/1.488, allocations: 230.5 MB / 254 MB, free: 15.01 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.002734/0.002734, allocations: 59.91 kB / 373 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.145, allocations: 53.37 MB / 426.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.00729/0.1523, allocations: 4.532 MB / 430.9 MB, free: 24 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2212/0.3735, allocations: 1.246 MB / 432.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006066/0.3741, allocations: 16.25 kB / 432.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004717/0.3746, allocations: 146.5 kB / 432.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005392/0.3751, allocations: 214.6 kB / 432.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.3756, allocations: 205.2 kB / 432.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006659/0.3762, allocations: 0.7661 MB / 433.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.3765, allocations: 196.9 kB / 433.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.3769, allocations: 297.4 kB / 434 MB, free: 7.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.3772, allocations: 331.7 kB / 434.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.403e-05/0.3773, allocations: 68.97 kB / 434.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3774, allocations: 72.06 kB / 434.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.687e-05/0.3775, allocations: 152.1 kB / 434.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.3778, allocations: 346.7 kB / 434.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008178/0.3786, allocations: 0.7659 MB / 435.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3786, allocations: 1.859 kB / 435.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3786, allocations: 0 / 435.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.3786, allocations: 0 / 435.7 MB, free: 6.832 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001583/0.3802, allocations: 0.9695 MB / 436.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3802, allocations: 9.781 kB / 436.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.3803, allocations: 100 kB / 436.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.3806, allocations: 99.84 kB / 436.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.3811, allocations: 432.5 kB / 437.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.3812, allocations: 41.16 kB / 437.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.723e-05/0.3812, allocations: 61.44 kB / 437.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008395/0.3821, allocations: 493.1 kB / 437.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.3821, allocations: 0.5625 kB / 437.9 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.956e-05/0.3822, allocations: 26.06 kB / 437.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.3822, allocations: 14.45 kB / 437.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.3829, allocations: 392 kB / 438.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.3858, allocations: 1.756 MB / 440.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006705/0.3864, allocations: 0.4992 MB / 440.6 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009362/0.3874, allocations: 412.9 kB / 441 MB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.655e-05/0.3874, allocations: 16.97 kB / 441 MB, free: 3.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004355/0.3878, allocations: 289.2 kB / 441.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.354e-06/0.3878, allocations: 4 kB / 441.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.003369/0.3912, allocations: 1.135 MB / 442.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/0.3913, allocations: 237.9 kB / 442.6 MB, free: 2.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.3918, allocations: 440.3 kB / 443.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.3918, allocations: 33.62 kB / 443.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.392, allocations: 317.2 kB / 443.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.392, allocations: 150.8 kB / 443.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.3922, allocations: 96.33 kB / 443.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.295e-05/0.3922, allocations: 357.1 kB / 444 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.3925, allocations: 147 kB / 444.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.3928, allocations: 304.8 kB / 444.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/0.3934, allocations: 428.1 kB / 444.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3934, allocations: 5.312 kB / 444.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001366/0.3948, allocations: 0.6872 MB / 445.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3948, allocations: 6.562 kB / 445.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3948, allocations: 5.172 kB / 445.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009699/0.3958, allocations: 260.9 kB / 445.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.396, allocations: 71.61 kB / 445.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004457/0.4005, allocations: 3.128 MB / 449 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005971/0.4011, allocations: 79.27 kB / 449.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.4011, allocations: 20.41 kB / 449.1 MB, free: 14.74 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000341/0.4015, allocations: 184.8 kB / 449.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.4016, allocations: 54.31 kB / 449.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.4017, allocations: 53.41 kB / 449.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4017, allocations: 4.781 kB / 449.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4017, allocations: 0.5625 kB / 449.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.4017, allocations: 7.656 kB / 449.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.4039, allocations: 1.204 MB / 450.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4039, allocations: 0.6562 kB / 450.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.4041, allocations: 41.77 kB / 450.7 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009081/0.405, allocations: 255.5 kB / 450.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.405, allocations: 11.81 kB / 450.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004633/0.4097, allocations: 3.169 MB / 454.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4097, allocations: 0 / 454.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.4114, allocations: 0.8403 MB / 454.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.4116, allocations: 134 kB / 455.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.106e-05/0.4117, allocations: 14.25 kB / 455.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.4121, allocations: 38.89 kB / 455.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.4122, allocations: 41.88 kB / 455.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.4122, allocations: 10.72 kB / 455.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003955/0.4126, allocations: 305.7 kB / 455.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4126, allocations: 0 / 455.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007409/0.4133, allocations: 199.7 kB / 455.7 MB, free: 10.73 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: 4 ($whenCondition1,opAmp.satPos,opAmp.satNeg,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 (23): * Single equations (assignments): 21 * 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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002082/0.4154, allocations: 1.395 MB / 457 MB, free: 9.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.4167, allocations: 0.5746 MB / 457.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.4167, allocations: 1.125 kB / 457.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007486/0.4175, allocations: 400.2 kB / 458 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.418, allocations: 89.31 kB / 458.1 MB, free: 9.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008392/0.4264, allocations: 4.887 MB / 463 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/0.427, allocations: 0.8731 MB / 463.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002304/0.4272, allocations: 48.48 kB / 463.9 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.4275, allocations: 183.1 kB / 464.1 MB, free: 5.41 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4275, allocations: 0 / 464.1 MB, free: 5.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.046/0.4735, allocations: 12.85 MB / 476.9 MB, free: 12.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.05, allocations: 7.375 kB / 476.9 MB, free: 12.4 MB / 382.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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.v_out in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv. Warning: Get data of variable opAmp.v_out from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.661704286932945]