Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 214.7 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 55.92 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2623, allocations: 53.36 MB / 431.2 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005899/0.2682, allocations: 3.277 MB / 434.4 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.2703, allocations: 1.021 MB / 435.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.2705, allocations: 11.94 kB / 435.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.2707, allocations: 59.42 kB / 435.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000442/0.2711, allocations: 126.9 kB / 435.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.2716, allocations: 159.6 kB / 435.8 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000645/0.2722, allocations: 489.9 kB / 436.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.2724, allocations: 103.6 kB / 436.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.2727, allocations: 191.3 kB / 436.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.273, allocations: 211 kB / 436.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.815e-05/0.2731, allocations: 40 kB / 436.8 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.2733, allocations: 79.97 kB / 436.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.87e-05/0.2733, allocations: 91.67 kB / 437 MB, free: 1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.2735, allocations: 218.9 kB / 437.2 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.2741, allocations: 0.5022 MB / 437.7 MB, free: 292 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2741, allocations: 0 / 437.7 MB, free: 292 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2741, allocations: 0 / 437.7 MB, free: 292 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.2741, allocations: 4 kB / 437.7 MB, free: 288 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.001448/0.2756, allocations: 0.6763 MB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2756, allocations: 8.031 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.556e-05/0.2757, allocations: 70.72 kB / 438.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.2759, allocations: 52.66 kB / 438.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.2764, allocations: 249.3 kB / 438.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.2764, allocations: 25.03 kB / 438.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.2764, allocations: 40.38 kB / 438.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/0.2771, allocations: 349.2 kB / 439.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.2771, allocations: 3.938 kB / 439.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.2771, allocations: 16 kB / 439.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2771, allocations: 8 kB / 439.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.2776, allocations: 230.5 kB / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.2796, allocations: 1.143 MB / 440.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.2803, allocations: 259.5 kB / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/0.2808, allocations: 192.2 kB / 441 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000329/0.2811, allocations: 80.16 kB / 441.1 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2811, allocations: 38.78 kB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.552e-06/0.2811, allocations: 0 / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001343/0.2825, allocations: 468.6 kB / 441.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.2826, allocations: 85.05 kB / 441.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.2829, allocations: 341.6 kB / 442 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.283, allocations: 33.7 kB / 442 MB, free: 11.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.2831, allocations: 216.5 kB / 442.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.428e-05/0.2832, allocations: 103.1 kB / 442.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.2834, allocations: 74.02 kB / 442.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2835, allocations: 350.7 kB / 442.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002392/0.2838, allocations: 100.7 kB / 442.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.2841, allocations: 189.8 kB / 443 MB, free: 10.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.2846, allocations: 296.5 kB / 443.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2846, allocations: 0 / 443.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000839/0.2854, allocations: 425.4 kB / 443.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.2855, allocations: 8 kB / 443.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.2855, allocations: 4.25 kB / 443.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/0.2858, allocations: 68.75 kB / 443.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.2861, allocations: 79.89 kB / 443.9 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.2882, allocations: 1.852 MB / 445.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.2884, allocations: 35.73 kB / 445.8 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.2885, allocations: 19.98 kB / 445.8 MB, free: 7.773 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.0001843/0.2886, allocations: 155.3 kB / 445.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.2887, allocations: 39.7 kB / 446 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.2894, allocations: 330.5 kB / 446.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2894, allocations: 4 kB / 446.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2894, allocations: 3.938 kB / 446.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2894, allocations: 0 / 446.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.2899, allocations: 368.3 kB / 446.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2899, allocations: 0 / 446.7 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.2903, allocations: 59.95 kB / 446.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001995/0.2905, allocations: 52.83 kB / 446.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.2905, allocations: 12.17 kB / 446.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004852/0.291, allocations: 0.6147 MB / 447.4 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.291, allocations: 4.031 kB / 447.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009763/0.292, allocations: 0.5173 MB / 447.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.292, allocations: 35.7 kB / 448 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/0.2921, allocations: 8 kB / 448 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.2924, allocations: 31.97 kB / 448 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.2924, allocations: 11.97 kB / 448 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.2924, allocations: 12 kB / 448 MB, free: 5.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002713/0.2927, allocations: 239.2 kB / 448.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2927, allocations: 0 / 448.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004751/0.2932, allocations: 107.8 kB / 448.4 MB, free: 5.094 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.001389/0.2946, allocations: 1.089 MB / 449.5 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008904/0.2955, allocations: 398.5 kB / 449.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2955, allocations: 4 kB / 449.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.2958, allocations: 131.8 kB / 450 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.2962, allocations: 45.14 kB / 450 MB, free: 3.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005399/0.3016, allocations: 3.774 MB / 453.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.302, allocations: 0.7912 MB / 454.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.3022, allocations: 42.89 kB / 454.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.3024, allocations: 127.4 kB / 454.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3024, allocations: 0 / 454.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0404/0.3428, allocations: 8.067 MB / 462.8 MB, free: 6.609 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.35, allocations: 8.062 kB / 462.8 MB, free: 6.602 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.v_source from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! Error: Could not read variable opAmp.x in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.x from file Modelica_4.1.0_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.978503519003425]