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: 111.1 kB / 20.44 MB, free: 1.062 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.001536/0.001536, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001635/0.001635, allocations: 47.92 kB / 377.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2514, allocations: 53.37 MB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004789/0.2562, allocations: 2.969 MB / 434.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.2583, allocations: 0.9585 MB / 435 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002868/0.2585, allocations: 7.938 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.2588, allocations: 59.41 kB / 435.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004661/0.2592, allocations: 134.9 kB / 435.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.2597, allocations: 151.6 kB / 435.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006607/0.2603, allocations: 494 kB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/0.2606, allocations: 85.33 kB / 435.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.2611, allocations: 207.3 kB / 436.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.2615, allocations: 175.1 kB / 436.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.699e-05/0.2616, allocations: 40 kB / 436.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.2618, allocations: 71.97 kB / 436.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.2619, allocations: 99.61 kB / 436.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002573/0.2622, allocations: 179.2 kB / 436.7 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007735/0.2629, allocations: 0.5018 MB / 437.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.2629, allocations: 4 kB / 437.2 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.263, allocations: 4 kB / 437.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.263, allocations: 0 / 437.2 MB, free: 0.5234 MB / 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.001817/0.2648, allocations: 0.6568 MB / 437.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.2648, allocations: 8.031 kB / 437.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.265, allocations: 74.72 kB / 437.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.2652, allocations: 52.66 kB / 438 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006228/0.2658, allocations: 261.2 kB / 438.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.2659, allocations: 29.03 kB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.266, allocations: 36.38 kB / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008468/0.2668, allocations: 451.9 kB / 438.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.2668, allocations: 0 / 438.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.2669, allocations: 12 kB / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.2669, allocations: 8 kB / 438.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005668/0.2674, allocations: 230.5 kB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.2697, allocations: 1.038 MB / 440 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/0.2704, allocations: 243.6 kB / 440.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005593/0.2709, allocations: 201.2 kB / 440.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003514/0.2713, allocations: 76.16 kB / 440.5 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.2713, allocations: 42.73 kB / 440.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.575e-06/0.2713, allocations: 0 / 440.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001388/0.2727, allocations: 448.5 kB / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.2728, allocations: 81.11 kB / 441.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.2732, allocations: 349.5 kB / 441.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.2733, allocations: 33.7 kB / 441.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.2734, allocations: 220.5 kB / 441.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.341e-05/0.2735, allocations: 103.1 kB / 441.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2737, allocations: 74.06 kB / 441.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.2738, allocations: 346.7 kB / 442.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.2741, allocations: 100.7 kB / 442.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.2744, allocations: 203.4 kB / 442.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005574/0.275, allocations: 280.6 kB / 442.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.275, allocations: 0 / 442.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008904/0.2759, allocations: 421.5 kB / 443.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2759, allocations: 4 kB / 443.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2759, allocations: 4 kB / 443.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.2762, allocations: 68.97 kB / 443.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.2765, allocations: 71.91 kB / 443.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.2788, allocations: 1.836 MB / 445.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.2791, allocations: 47.73 kB / 445.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.2791, allocations: 12 kB / 445.2 MB, free: 8.051 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.0002057/0.2793, allocations: 157.7 kB / 445.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.285e-05/0.2794, allocations: 35.95 kB / 445.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007516/0.2802, allocations: 318.3 kB / 445.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2802, allocations: 7.938 kB / 445.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2802, allocations: 3.938 kB / 445.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.2802, allocations: 0 / 445.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.2807, allocations: 324.5 kB / 446 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2807, allocations: 0 / 446 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.281, allocations: 51.91 kB / 446.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.2812, allocations: 60.81 kB / 446.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.2812, allocations: 12 kB / 446.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005023/0.2817, allocations: 0.6109 MB / 446.8 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2817, allocations: 3.938 kB / 446.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/0.2827, allocations: 0.4946 MB / 447.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.2828, allocations: 43.69 kB / 447.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.2828, allocations: 4 kB / 447.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.2831, allocations: 24.05 kB / 447.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.2832, allocations: 11.97 kB / 447.4 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.2832, allocations: 15.98 kB / 447.4 MB, free: 5.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002726/0.2835, allocations: 235.2 kB / 447.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2835, allocations: 0 / 447.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000476/0.2839, allocations: 111.8 kB / 447.7 MB, free: 5.445 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.001403/0.2853, allocations: 1.073 MB / 448.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008455/0.2862, allocations: 386.4 kB / 449.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2862, allocations: 0.5 kB / 449.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.2865, allocations: 127.9 kB / 449.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.2869, allocations: 43.94 kB / 449.3 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005275/0.2922, allocations: 3.711 MB / 453 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.2924, allocations: 190.4 kB / 453.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.2925, allocations: 38.97 kB / 453.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.2927, allocations: 131.4 kB / 453.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.2927, allocations: 3.938 kB / 453.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04178/0.3345, allocations: 8.407 MB / 461.8 MB, free: 7.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.1, allocations: 3.938 kB / 461.8 MB, free: 7.355 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] Reference file matches [Calling sys.exit(0), Time elapsed: 15.657809522934258]