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.001817/0.001817, allocations: 111.1 kB / 20.44 MB, free: 1.336 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.002208/0.002208, allocations: 211.6 kB / 23.73 MB, free: 4.516 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001488/0.001488, allocations: 51.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2626, allocations: 53.37 MB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004469/0.2671, allocations: 2.969 MB / 434.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.2688, allocations: 0.9546 MB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.269, allocations: 11.94 kB / 435 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.2692, allocations: 59.36 kB / 435.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.2695, allocations: 127 kB / 435.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.2699, allocations: 159.6 kB / 435.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005384/0.2704, allocations: 489.9 kB / 435.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.2706, allocations: 97.31 kB / 435.9 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.271, allocations: 195.3 kB / 436.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.2712, allocations: 211.1 kB / 436.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.471e-05/0.2713, allocations: 40 kB / 436.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.2715, allocations: 75.97 kB / 436.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.504e-05/0.2715, allocations: 91.67 kB / 436.5 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.2717, allocations: 183.1 kB / 436.7 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000579/0.2723, allocations: 0.5018 MB / 437.2 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2723, allocations: 3.938 kB / 437.2 MB, free: 500 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2723, allocations: 4 kB / 437.2 MB, free: 496 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.2723, allocations: 0 / 437.2 MB, free: 496 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.001337/0.2737, allocations: 0.6607 MB / 437.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2737, allocations: 12.03 kB / 437.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.074e-05/0.2738, allocations: 66.72 kB / 438 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/0.274, allocations: 56.64 kB / 438 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.2744, allocations: 261.2 kB / 438.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.2745, allocations: 21.03 kB / 438.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.047e-05/0.2745, allocations: 36.38 kB / 438.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.2753, allocations: 452 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.2753, allocations: 0 / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.2753, allocations: 16 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.2753, allocations: 8 kB / 438.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005689/0.2759, allocations: 230.5 kB / 439 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.2778, allocations: 1.046 MB / 440.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.2784, allocations: 247.6 kB / 440.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.2789, allocations: 189.2 kB / 440.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003446/0.2792, allocations: 72.16 kB / 440.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.787e-05/0.2793, allocations: 42.78 kB / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.204e-06/0.2793, allocations: 0 / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001359/0.2807, allocations: 448.5 kB / 441 MB, free: 12.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.2807, allocations: 85.09 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.2811, allocations: 341.6 kB / 441.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.2811, allocations: 29.7 kB / 441.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.2813, allocations: 220.4 kB / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.785e-05/0.2814, allocations: 115.2 kB / 441.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.2815, allocations: 66.08 kB / 441.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2817, allocations: 350.7 kB / 442.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.2819, allocations: 96.7 kB / 442.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.2822, allocations: 211.5 kB / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000522/0.2827, allocations: 276.6 kB / 442.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2827, allocations: 0 / 442.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008111/0.2836, allocations: 417.6 kB / 443.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.2836, allocations: 8 kB / 443.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2836, allocations: 0 / 443.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002662/0.2839, allocations: 72.69 kB / 443.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.2842, allocations: 79.89 kB / 443.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.2862, allocations: 1.828 MB / 445.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.2865, allocations: 47.75 kB / 445.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/0.2866, allocations: 16 kB / 445.2 MB, free: 8.012 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.0002373/0.2868, allocations: 157.7 kB / 445.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/0.2869, allocations: 35.77 kB / 445.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000731/0.2876, allocations: 322.3 kB / 445.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.2876, allocations: 4 kB / 445.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2876, allocations: 7.938 kB / 445.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2876, allocations: 0 / 445.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.2881, allocations: 316.5 kB / 446.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.2881, allocations: 0 / 446.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.2884, allocations: 55.95 kB / 446.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002224/0.2887, allocations: 64.8 kB / 446.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.2887, allocations: 4 kB / 446.2 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005021/0.2892, allocations: 0.6108 MB / 446.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2892, allocations: 0 / 446.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009129/0.2901, allocations: 0.5016 MB / 447.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.2902, allocations: 39.62 kB / 447.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.2902, allocations: 8 kB / 447.4 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.2905, allocations: 20.05 kB / 447.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.2905, allocations: 20.16 kB / 447.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.2905, allocations: 4 kB / 447.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002773/0.2908, allocations: 247.1 kB / 447.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2908, allocations: 0 / 447.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004765/0.2913, allocations: 111.8 kB / 447.7 MB, free: 5.406 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.001384/0.2927, allocations: 1.066 MB / 448.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009486/0.2936, allocations: 394.4 kB / 449.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2936, allocations: 0 / 449.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.294, allocations: 124.4 kB / 449.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.2944, allocations: 49.36 kB / 449.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005364/0.2997, allocations: 3.707 MB / 453.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.2999, allocations: 186.5 kB / 453.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.3001, allocations: 38.95 kB / 453.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.3003, allocations: 131.4 kB / 453.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of SimCode: time 1.343e-06/0.3003, allocations: 0 / 453.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0512/0.3515, allocations: 8.514 MB / 461.9 MB, free: 7.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/12.9, allocations: 2.578 kB / 461.9 MB, free: 7.215 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.459736988006625]