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.0007826/0.0007826, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007964/0.0007964, allocations: 156.9 kB / 23.94 MB, free: 0.6133 MB / 18.57 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 0.9009/0.9009, allocations: 177 MB / 204.1 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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 2.635e-06/2.635e-06, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.564e-05, allocations: 6.844 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.003929/0.003955, allocations: 4.078 MB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.006002, allocations: 1.203 MB / 329.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003658/0.006368, allocations: 11.94 kB / 329.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.00676, allocations: 142.7 kB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.007143, allocations: 226 kB / 330.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.007584, allocations: 203.5 kB / 330.4 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007551/0.00834, allocations: 0.7936 MB / 331.2 MB, free: 9.164 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.008627, allocations: 187 kB / 331.4 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005132/0.00914, allocations: 439 kB / 331.8 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.009422, allocations: 243.2 kB / 332.1 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.364e-05/0.009486, allocations: 68 kB / 332.1 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.385e-05/0.00958, allocations: 75.98 kB / 332.2 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.42e-05/0.009674, allocations: 147.4 kB / 332.3 MB, free: 8.031 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.009858, allocations: 247.3 kB / 332.6 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000571/0.01043, allocations: 0.7709 MB / 333.4 MB, free: 7.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01043, allocations: 0 / 333.4 MB, free: 7.016 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01043, allocations: 0 / 333.4 MB, free: 7.016 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.01045, allocations: 4 kB / 333.4 MB, free: 7.012 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001349/0.01179, allocations: 0.9425 MB / 334.3 MB, free: 6.035 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.01184, allocations: 11.98 kB / 334.3 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.921e-05/0.01193, allocations: 102.7 kB / 334.4 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.01215, allocations: 92.45 kB / 334.5 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.01256, allocations: 363.5 kB / 334.9 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.01258, allocations: 49.69 kB / 334.9 MB, free: 5.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.01264, allocations: 52.38 kB / 335 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.01327, allocations: 0.6803 MB / 335.6 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.01329, allocations: 7.938 kB / 335.6 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.01332, allocations: 20 kB / 335.7 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.01333, allocations: 12 kB / 335.7 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004744/0.01381, allocations: 401 kB / 336.1 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.0157, allocations: 1.568 MB / 337.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.01625, allocations: 358.9 kB / 338 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005289/0.01678, allocations: 412.4 kB / 338.4 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.01681, allocations: 8 kB / 338.4 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000451/0.01726, allocations: 495.6 kB / 338.9 MB, free: 1.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.523e-06/0.01726, allocations: 4 kB / 338.9 MB, free: 1.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.001599/0.01886, allocations: 0.9618 MB / 339.9 MB, free: 216 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/0.01896, allocations: 239.3 kB / 340.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004623/0.01942, allocations: 441.8 kB / 340.5 MB, free: 15.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.01945, allocations: 33.7 kB / 340.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.01961, allocations: 324.7 kB / 340.9 MB, free: 15.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.01968, allocations: 146.7 kB / 341 MB, free: 14.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.507e-05/0.01978, allocations: 102.3 kB / 341.1 MB, free: 14.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.01988, allocations: 362.7 kB / 341.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.02004, allocations: 141.2 kB / 341.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.02033, allocations: 485.8 kB / 342.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.02073, allocations: 408.4 kB / 342.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.02074, allocations: 0 / 342.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008006/0.02154, allocations: 0.6618 MB / 343.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.02155, allocations: 15.88 kB / 343.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.02156, allocations: 12.02 kB / 343.2 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004783/0.02204, allocations: 220.2 kB / 343.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.02221, allocations: 87.83 kB / 343.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.025, allocations: 2.71 MB / 346.2 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.02527, allocations: 71.59 kB / 346.2 MB, free: 9.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.02529, allocations: 23.98 kB / 346.3 MB, free: 9.414 MB / 314.7 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.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002/0.02549, allocations: 177.8 kB / 346.4 MB, free: 9.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.02555, allocations: 55.67 kB / 346.5 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.02561, allocations: 52.97 kB / 346.5 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.02561, allocations: 11.94 kB / 346.6 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.02562, allocations: 0 / 346.6 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.02562, allocations: 3.984 kB / 346.6 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.0268, allocations: 1.094 MB / 347.7 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.0268, allocations: 4 kB / 347.7 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.02692, allocations: 43.97 kB / 347.7 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.02734, allocations: 216.7 kB / 347.9 MB, free: 7.699 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.02736, allocations: 15.98 kB / 347.9 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002172/0.02953, allocations: 2.736 MB / 350.7 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.02954, allocations: 0 / 350.7 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.0307, allocations: 0.8266 MB / 351.5 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.03076, allocations: 59.66 kB / 351.6 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.0308, allocations: 15.86 kB / 351.6 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.03096, allocations: 44.03 kB / 351.6 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.357e-05/0.03104, allocations: 35.92 kB / 351.6 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.03106, allocations: 12 kB / 351.7 MB, free: 3.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002308/0.03129, allocations: 307.1 kB / 352 MB, free: 3.523 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03129, allocations: 0 / 352 MB, free: 3.523 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000467/0.03176, allocations: 191.6 kB / 352.1 MB, free: 3.336 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: 4 ($whenCondition1,rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001086/0.03285, allocations: 1.373 MB / 353.5 MB, free: 1.934 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007082/0.03355, allocations: 0.5427 MB / 354.1 MB, free: 1.379 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.03356, allocations: 0 / 354.1 MB, free: 1.379 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.03391, allocations: 386.9 kB / 354.4 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.03426, allocations: 82 kB / 354.5 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005289/0.03955, allocations: 4.838 MB / 359.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.03974, allocations: 267.8 kB / 359.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.03991, allocations: 52.47 kB / 359.7 MB, free: 11.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.04007, allocations: 188.4 kB / 359.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.623e-06/0.04007, allocations: 3.938 kB / 359.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.06871, allocations: 13.22 MB / 373.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/7.96, allocations: 3.938 kB / 373.1 MB, free: 14.35 MB / 346.7 MB " [Timeout remaining time 652] (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/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_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] "" Variables in the reference:time,opAmp.v_out,rootMeanSquare.mean.x Variables in the result:time,rootMeanSquare.mean.x [Calling sys.exit(0), Time elapsed: 9.732522211037576]