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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 55.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2618, allocations: 50.54 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005974/0.2678, allocations: 3.251 MB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.2698, allocations: 1.013 MB / 413 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/0.2701, allocations: 8 kB / 413 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.2704, allocations: 63.34 kB / 413.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004859/0.2709, allocations: 126.5 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.2713, allocations: 155.6 kB / 413.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005568/0.2718, allocations: 490 kB / 413.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.2721, allocations: 131.1 kB / 414 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.2725, allocations: 195.3 kB / 414.2 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.2729, allocations: 211.1 kB / 414.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.824e-05/0.2729, allocations: 44 kB / 414.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.2731, allocations: 79.97 kB / 414.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.889e-05/0.2732, allocations: 91.62 kB / 414.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.2734, allocations: 215 kB / 414.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.274, allocations: 0.5008 MB / 415.3 MB, free: 11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.274, allocations: 3.938 kB / 415.3 MB, free: 11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.274, allocations: 0 / 415.3 MB, free: 11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.274, allocations: 0 / 415.3 MB, free: 11 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.001383/0.2754, allocations: 0.7438 MB / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.2755, allocations: 8.031 kB / 416.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.483e-05/0.2756, allocations: 74.72 kB / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/0.2758, allocations: 56.64 kB / 416.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.2763, allocations: 315.5 kB / 416.5 MB, free: 9.715 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.2764, allocations: 25.03 kB / 416.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/0.2764, allocations: 32.38 kB / 416.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006677/0.2771, allocations: 357.1 kB / 416.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2771, allocations: 0 / 416.9 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.2772, allocations: 16 kB / 416.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.2772, allocations: 8 kB / 416.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/0.2777, allocations: 234.5 kB / 417.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.2796, allocations: 1.174 MB / 418.3 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006416/0.2803, allocations: 279.5 kB / 418.6 MB, free: 7.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005682/0.2808, allocations: 217.2 kB / 418.8 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007752/0.2816, allocations: 1.117 MB / 419.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.2817, allocations: 38.73 kB / 420 MB, free: 5.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.964e-06/0.2817, allocations: 4 kB / 420 MB, free: 5.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.00144/0.2831, allocations: 0.5289 MB / 420.5 MB, free: 5.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.2832, allocations: 81.11 kB / 420.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.2837, allocations: 337.7 kB / 420.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.2838, allocations: 29.7 kB / 420.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.284, allocations: 220.4 kB / 421.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.612e-05/0.2841, allocations: 103.1 kB / 421.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001749/0.2842, allocations: 78.02 kB / 421.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.2844, allocations: 350.7 kB / 421.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.2847, allocations: 104.7 kB / 421.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.285, allocations: 186 kB / 422 MB, free: 3.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.2855, allocations: 284.3 kB / 422.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.2855, allocations: 0 / 422.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008258/0.2864, allocations: 437.3 kB / 422.7 MB, free: 3.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2864, allocations: 4 kB / 422.7 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2864, allocations: 4 kB / 422.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/0.2867, allocations: 72.75 kB / 422.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.287, allocations: 79.89 kB / 422.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/0.289, allocations: 1.943 MB / 424.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.2894, allocations: 43.72 kB / 424.8 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.2894, allocations: 12 kB / 424.8 MB, free: 0.7266 MB / 334.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.0002181/0.2897, allocations: 169.2 kB / 425 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.2898, allocations: 35.77 kB / 425 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007488/0.2905, allocations: 330.3 kB / 425.3 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.2905, allocations: 7.984 kB / 425.3 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2905, allocations: 11.88 kB / 425.4 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2906, allocations: 3.984 kB / 425.4 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006218/0.2912, allocations: 393.3 kB / 425.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2912, allocations: 0 / 425.7 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.2917, allocations: 59.89 kB / 425.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002723/0.292, allocations: 56.81 kB / 425.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.292, allocations: 8 kB / 425.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005314/0.2926, allocations: 0.6109 MB / 426.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2926, allocations: 3.984 kB / 426.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.2938, allocations: 0.5251 MB / 427 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.294, allocations: 112.8 kB / 427.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-05/0.2941, allocations: 8 kB / 427.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.2944, allocations: 19.98 kB / 427.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.2945, allocations: 11.97 kB / 427.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.2945, allocations: 12.19 kB / 427.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002777/0.2948, allocations: 239.2 kB / 427.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2948, allocations: 3.938 kB / 427.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005224/0.2953, allocations: 115.8 kB / 427.5 MB, free: 13.89 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.001342/0.2967, allocations: 1.085 MB / 428.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008359/0.2975, allocations: 411 kB / 429 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2976, allocations: 64 / 429 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.2979, allocations: 151.8 kB / 429.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.2983, allocations: 41.52 kB / 429.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/0.3032, allocations: 3.772 MB / 433 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3036, allocations: 0.7912 MB / 433.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.3038, allocations: 42.89 kB / 433.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.304, allocations: 127.4 kB / 433.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of SimCode: time 8.71e-07/0.304, allocations: 0 / 433.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.3341, allocations: 7.775 MB / 441.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.02, allocations: 5 kB / 441.7 MB, free: 15.7 MB / 366.1 MB (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "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! " 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