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.00185/0.00185, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002387/0.002387, allocations: 214.1 kB / 23.74 MB, free: 4.66 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.438/1.438, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.002925/0.002925, allocations: 63.91 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.265, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004598/0.2696, allocations: 3.28 MB / 434.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.2715, allocations: 1.009 MB / 435.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.2717, allocations: 7.938 kB / 435.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.2719, allocations: 63.42 kB / 435.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.2722, allocations: 130.9 kB / 435.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.2726, allocations: 155.6 kB / 435.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005201/0.2731, allocations: 493.9 kB / 436.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.2733, allocations: 99.62 kB / 436.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.2736, allocations: 199.3 kB / 436.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.2739, allocations: 211 kB / 436.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.2739, allocations: 40 kB / 436.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.2741, allocations: 79.97 kB / 436.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.951e-05/0.2742, allocations: 91.67 kB / 437 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.2744, allocations: 218.9 kB / 437.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005661/0.2749, allocations: 0.5022 MB / 437.7 MB, free: 128 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2749, allocations: 0 / 437.7 MB, free: 128 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2749, allocations: 0 / 437.7 MB, free: 128 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.275, allocations: 0 / 437.7 MB, free: 128 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.001335/0.2763, allocations: 0.6687 MB / 438.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2763, allocations: 12.03 kB / 438.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.021e-05/0.2764, allocations: 66.72 kB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.2766, allocations: 56.64 kB / 438.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.277, allocations: 257.2 kB / 438.8 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.2771, allocations: 25.03 kB / 438.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.2771, allocations: 36.38 kB / 438.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009277/0.2781, allocations: 353.2 kB / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.2781, allocations: 0 / 439.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.067e-05/0.2781, allocations: 16 kB / 439.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.2781, allocations: 11.94 kB / 439.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006574/0.2788, allocations: 230.5 kB / 439.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.2809, allocations: 1.143 MB / 440.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006419/0.2816, allocations: 255.5 kB / 440.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.2821, allocations: 197.9 kB / 441 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/0.2824, allocations: 72.16 kB / 441.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/0.2824, allocations: 42.8 kB / 441.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.383e-06/0.2824, allocations: 0 / 441.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001298/0.2837, allocations: 468.6 kB / 441.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.2838, allocations: 85.05 kB / 441.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.2842, allocations: 341.6 kB / 442 MB, free: 11.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.2842, allocations: 29.7 kB / 442.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.2844, allocations: 216.5 kB / 442.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/0.2845, allocations: 107.1 kB / 442.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.2846, allocations: 74.02 kB / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2848, allocations: 350.7 kB / 442.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.285, allocations: 104.7 kB / 442.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.2853, allocations: 189.8 kB / 443.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/0.2858, allocations: 288 kB / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2858, allocations: 0 / 443.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007918/0.2866, allocations: 425.4 kB / 443.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2866, allocations: 11.94 kB / 443.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2866, allocations: 0 / 443.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/0.2869, allocations: 73 kB / 443.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.2872, allocations: 79.89 kB / 443.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/0.2892, allocations: 1.844 MB / 445.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.2894, allocations: 47.77 kB / 445.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.2895, allocations: 12 kB / 445.8 MB, free: 7.613 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.0001663/0.2896, allocations: 157.6 kB / 446 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.787e-05/0.2897, allocations: 39.77 kB / 446 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.2904, allocations: 330.3 kB / 446.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.2904, allocations: 8 kB / 446.4 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.2904, allocations: 3.938 kB / 446.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2904, allocations: 0 / 446.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.2908, allocations: 368.3 kB / 446.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2908, allocations: 0 / 446.7 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.2912, allocations: 55.95 kB / 446.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001856/0.2913, allocations: 56.83 kB / 446.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.2914, allocations: 12 kB / 446.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004494/0.2918, allocations: 0.611 MB / 447.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2918, allocations: 0 / 447.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008915/0.2927, allocations: 0.5172 MB / 448 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.2928, allocations: 43.69 kB / 448 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.2928, allocations: 8 kB / 448 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.2931, allocations: 19.98 kB / 448 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.2931, allocations: 19.95 kB / 448.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.2931, allocations: 12 kB / 448.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002561/0.2934, allocations: 239.2 kB / 448.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2934, allocations: 0 / 448.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004278/0.2938, allocations: 111.8 kB / 448.4 MB, free: 4.922 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.001345/0.2952, allocations: 1.088 MB / 449.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008292/0.296, allocations: 402.8 kB / 449.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.296, allocations: 0 / 449.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003384/0.2963, allocations: 131.8 kB / 450 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.2967, allocations: 42.94 kB / 450.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.3019, allocations: 3.777 MB / 453.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.3023, allocations: 0.7912 MB / 454.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.3024, allocations: 30.97 kB / 454.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.3026, allocations: 135.4 kB / 454.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3026, allocations: 0 / 454.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04224/0.3449, allocations: 8.062 MB / 462.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.19, allocations: 4.703 kB / 462.9 MB, free: 6.422 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] "" Variables in the reference:time,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.v_in,opAmp.v_source,opAmp.x Variables in the result:time,opAmp.q_fp1,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.v_in [Calling sys.exit(0), Time elapsed: 15.917239394999342]