Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001759/0.001759, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.00227/0.00227, allocations: 206.4 kB / 23.73 MB, free: 4.414 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.415/1.415, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.89 kB / 377.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2325, allocations: 53.4 MB / 431.1 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004312/0.2368, allocations: 2.976 MB / 434.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.2385, allocations: 0.9468 MB / 435.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.2387, allocations: 11.94 kB / 435.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.2389, allocations: 63.41 kB / 435.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.2392, allocations: 125.9 kB / 435.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.2396, allocations: 159.6 kB / 435.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004785/0.24, allocations: 490 kB / 435.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.2402, allocations: 85.33 kB / 436 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.2405, allocations: 211.2 kB / 436.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.2408, allocations: 175.2 kB / 436.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.2408, allocations: 40 kB / 436.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.241, allocations: 71.97 kB / 436.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.274e-05/0.2411, allocations: 99.59 kB / 436.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.2412, allocations: 175.2 kB / 436.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.2418, allocations: 0.5018 MB / 437.2 MB, free: 328 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2418, allocations: 0 / 437.2 MB, free: 328 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2418, allocations: 0 / 437.2 MB, free: 328 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2418, allocations: 4 kB / 437.2 MB, free: 324 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001266/0.2431, allocations: 0.6685 MB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.2431, allocations: 11.98 kB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.952e-05/0.2432, allocations: 70.72 kB / 438 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.2434, allocations: 56.66 kB / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004385/0.2438, allocations: 253.2 kB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.2438, allocations: 29.03 kB / 438.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.2439, allocations: 32.38 kB / 438.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006773/0.2446, allocations: 459.9 kB / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.2446, allocations: 0 / 438.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.2446, allocations: 16 kB / 438.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.2446, allocations: 8 kB / 438.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.2451, allocations: 226.5 kB / 439.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.247, allocations: 1.046 MB / 440.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006154/0.2476, allocations: 247.6 kB / 440.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004943/0.2481, allocations: 189.8 kB / 440.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003007/0.2484, allocations: 72.16 kB / 440.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.2484, allocations: 50.67 kB / 440.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.423e-06/0.2484, allocations: 0 / 440.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001268/0.2497, allocations: 452.5 kB / 441.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.2497, allocations: 77.11 kB / 441.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.2501, allocations: 345.6 kB / 441.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.2501, allocations: 33.7 kB / 441.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.2503, allocations: 220.5 kB / 441.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.2504, allocations: 103.1 kB / 441.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.2505, allocations: 66.06 kB / 441.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2506, allocations: 354.7 kB / 442.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.2509, allocations: 96.7 kB / 442.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.2512, allocations: 207.4 kB / 442.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/0.2517, allocations: 276 kB / 442.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2517, allocations: 7.938 kB / 442.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007991/0.2525, allocations: 417.6 kB / 443.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2525, allocations: 8 kB / 443.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2525, allocations: 0 / 443.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/0.2528, allocations: 64.81 kB / 443.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.2531, allocations: 71.91 kB / 443.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.255, allocations: 1.844 MB / 445.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.2552, allocations: 39.67 kB / 445.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.2553, allocations: 12.06 kB / 445.3 MB, free: 7.836 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.2554, allocations: 161.1 kB / 445.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.2555, allocations: 35.77 kB / 445.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007043/0.2562, allocations: 322.3 kB / 445.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2562, allocations: 4 kB / 445.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2562, allocations: 3.938 kB / 445.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2562, allocations: 0 / 445.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.2566, allocations: 332.5 kB / 446.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2566, allocations: 0 / 446.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.257, allocations: 55.91 kB / 446.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/0.2572, allocations: 56.81 kB / 446.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.2572, allocations: 8 kB / 446.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004467/0.2576, allocations: 0.611 MB / 446.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2576, allocations: 0 / 446.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008913/0.2585, allocations: 0.5054 MB / 447.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.2586, allocations: 39.69 kB / 447.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.2586, allocations: 8 kB / 447.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.2589, allocations: 15.98 kB / 447.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.2589, allocations: 24.03 kB / 447.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.259, allocations: 7.984 kB / 447.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002476/0.2592, allocations: 239.2 kB / 447.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2592, allocations: 0 / 447.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004301/0.2596, allocations: 111.8 kB / 447.8 MB, free: 5.223 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001271/0.2609, allocations: 1.07 MB / 448.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007877/0.2617, allocations: 390.4 kB / 449.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2617, allocations: 0 / 449.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.262, allocations: 119.9 kB / 449.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.2624, allocations: 52.55 kB / 449.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/0.2674, allocations: 3.706 MB / 453.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.2676, allocations: 186.5 kB / 453.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.2677, allocations: 38.95 kB / 453.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.2679, allocations: 131.4 kB / 453.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2679, allocations: 4 kB / 453.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04012/0.308, allocations: 8.398 MB / 461.9 MB, free: 7.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/13.27, allocations: 8 kB / 461.9 MB, free: 7.109 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv --start-time 0 --stop-time 0.003 --timeout 50 --relative-tolerance 2e-07 --interface-type ModelExchange --solver CVode --output-interval 1.2e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp.v_source in file Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.v_source from file Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! Error: Could not read variable opAmp.x in file Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.x from file Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.816298431251198]