Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 107.5 kB / 20.44 MB, free: 1.348 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 190.3 kB / 23.71 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 47.91 kB / 370.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2689, allocations: 52.18 MB / 422.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004188/0.2731, allocations: 2.944 MB / 425.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.2748, allocations: 0.904 MB / 426.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.2749, allocations: 7.938 kB / 426.4 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.2751, allocations: 59.42 kB / 426.5 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.2755, allocations: 126.9 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.2758, allocations: 151.7 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.2763, allocations: 489.9 kB / 427.2 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.2765, allocations: 85.33 kB / 427.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.2767, allocations: 191.3 kB / 427.5 MB, free: 9.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.277, allocations: 179.1 kB / 427.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.277, allocations: 44 kB / 427.7 MB, free: 9.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.2772, allocations: 71.97 kB / 427.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.296e-05/0.2773, allocations: 91.67 kB / 427.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.2774, allocations: 183.2 kB / 428.1 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.278, allocations: 0.494 MB / 428.6 MB, free: 8.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.278, allocations: 0 / 428.6 MB, free: 8.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.278, allocations: 0 / 428.6 MB, free: 8.402 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.278, allocations: 0 / 428.6 MB, free: 8.402 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.001304/0.2793, allocations: 0.6685 MB / 429.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.2793, allocations: 8.031 kB / 429.2 MB, free: 7.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.922e-05/0.2794, allocations: 70.72 kB / 429.3 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.319e-05/0.2795, allocations: 48.66 kB / 429.4 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.28, allocations: 249.3 kB / 429.6 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.28, allocations: 29.03 kB / 429.6 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.14e-05/0.2801, allocations: 36.38 kB / 429.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/0.2808, allocations: 447.9 kB / 430.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2808, allocations: 3.984 kB / 430.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.2808, allocations: 15.98 kB / 430.1 MB, free: 6.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2808, allocations: 8 kB / 430.1 MB, free: 6.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.2813, allocations: 234.5 kB / 430.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.2832, allocations: 1.034 MB / 431.4 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/0.2838, allocations: 247.6 kB / 431.6 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/0.2843, allocations: 193.2 kB / 431.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/0.2846, allocations: 72.14 kB / 431.9 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.2846, allocations: 34.8 kB / 431.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.964e-06/0.2846, allocations: 4 kB / 431.9 MB, free: 4.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001308/0.2859, allocations: 442.7 kB / 432.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.286, allocations: 85.11 kB / 432.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.2864, allocations: 336.4 kB / 432.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.2864, allocations: 33.7 kB / 432.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.2866, allocations: 212.5 kB / 433 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.025e-05/0.2866, allocations: 107.1 kB / 433.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.2868, allocations: 70.06 kB / 433.2 MB, free: 3.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2869, allocations: 350.7 kB / 433.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.2871, allocations: 100.6 kB / 433.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.2874, allocations: 203.5 kB / 433.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.2879, allocations: 288.3 kB / 434.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2879, allocations: 0 / 434.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007965/0.2887, allocations: 421.6 kB / 434.5 MB, free: 2.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.2888, allocations: 11.94 kB / 434.5 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2888, allocations: 4.25 kB / 434.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002578/0.289, allocations: 72.75 kB / 434.6 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.2893, allocations: 71.89 kB / 434.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.2913, allocations: 1.824 MB / 436.5 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.2915, allocations: 35.81 kB / 436.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/0.2916, allocations: 23.92 kB / 436.6 MB, free: 15.97 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.0001787/0.2917, allocations: 153.7 kB / 436.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.2918, allocations: 35.95 kB / 436.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006961/0.2925, allocations: 322.7 kB / 437.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2925, allocations: 7.938 kB / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2925, allocations: 3.938 kB / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2925, allocations: 3.984 kB / 437.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.293, allocations: 316.5 kB / 437.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.293, allocations: 7.938 kB / 437.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.2933, allocations: 51.97 kB / 437.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.2935, allocations: 60.8 kB / 437.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.2935, allocations: 8 kB / 437.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004651/0.294, allocations: 0.6148 MB / 438.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.294, allocations: 0 / 438.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008934/0.2949, allocations: 0.5014 MB / 438.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.2949, allocations: 43.69 kB / 438.7 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.295, allocations: 4 kB / 438.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.2952, allocations: 19.98 kB / 438.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.2953, allocations: 11.97 kB / 438.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.2953, allocations: 15.98 kB / 438.7 MB, free: 13.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002511/0.2955, allocations: 231.1 kB / 438.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2955, allocations: 0 / 438.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004421/0.296, allocations: 107.8 kB / 439.1 MB, free: 13.36 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.001314/0.2973, allocations: 1.072 MB / 440.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008046/0.2981, allocations: 398.1 kB / 440.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2981, allocations: 0 / 440.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.2984, allocations: 123.8 kB / 440.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.2988, allocations: 56.56 kB / 440.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/0.3037, allocations: 3.684 MB / 444.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001734/0.3039, allocations: 190.4 kB / 444.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001509/0.304, allocations: 38.95 kB / 444.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.3042, allocations: 127.4 kB / 444.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3042, allocations: 0 / 444.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.3426, allocations: 8.378 MB / 453.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.12, allocations: 14.34 kB / 453.1 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.v_source from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! Error: Could not read variable opAmp.x in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.x from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.687070115935057]