Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001642/0.001642, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.001952/0.001952, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 55.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3056, allocations: 49.16 MB / 396.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004536/0.3101, allocations: 3.212 MB / 399.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.3121, allocations: 1.007 MB / 400.6 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002402/0.3124, allocations: 12.59 kB / 400.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.3126, allocations: 55.98 kB / 400.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.313, allocations: 131 kB / 400.8 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.3134, allocations: 138.5 kB / 400.9 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006511/0.3141, allocations: 494.2 kB / 401.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.3144, allocations: 111.3 kB / 401.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.3147, allocations: 193 kB / 401.7 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.315, allocations: 205.9 kB / 401.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.575e-05/0.3151, allocations: 40.69 kB / 401.9 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.3153, allocations: 77.19 kB / 402 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/0.3154, allocations: 92.27 kB / 402.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.3156, allocations: 212.4 kB / 402.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007562/0.3164, allocations: 0.4988 MB / 402.8 MB, free: 4.871 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3164, allocations: 1.156 kB / 402.8 MB, free: 4.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3164, allocations: 0 / 402.8 MB, free: 4.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.3164, allocations: 4 kB / 402.8 MB, free: 4.867 MB / 318.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.001491/0.3179, allocations: 0.6715 MB / 403.5 MB, free: 4.391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.3179, allocations: 14.34 kB / 403.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.255e-05/0.318, allocations: 73.17 kB / 403.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.3181, allocations: 46.81 kB / 403.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000524/0.3186, allocations: 249.9 kB / 403.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.3187, allocations: 22.31 kB / 403.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.538e-05/0.3188, allocations: 43.31 kB / 403.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.3195, allocations: 357.8 kB / 404.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3195, allocations: 0 / 404.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.3195, allocations: 15.56 kB / 404.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.3195, allocations: 7.625 kB / 404.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005556/0.3201, allocations: 233.9 kB / 404.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.3221, allocations: 1.136 MB / 405.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.3227, allocations: 257.7 kB / 405.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004946/0.3232, allocations: 200.2 kB / 406.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003356/0.3235, allocations: 70.23 kB / 406.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.3236, allocations: 41.02 kB / 406.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.3236, allocations: 1.344 kB / 406.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001281/0.3249, allocations: 466.3 kB / 406.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.3249, allocations: 79.2 kB / 406.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.3252, allocations: 336.8 kB / 407.1 MB, free: 2.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.3252, allocations: 31.45 kB / 407.1 MB, free: 2.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3253, allocations: 228 kB / 407.3 MB, free: 2.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/0.3254, allocations: 101.6 kB / 407.4 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.644e-05/0.3255, allocations: 70.5 kB / 407.5 MB, free: 2.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.3256, allocations: 350.5 kB / 407.8 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.3258, allocations: 101.2 kB / 407.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.326, allocations: 185.8 kB / 408.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.3264, allocations: 294.4 kB / 408.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3264, allocations: 0 / 408.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007188/0.3271, allocations: 436.4 kB / 408.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3272, allocations: 6.25 kB / 408.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3272, allocations: 2.688 kB / 408.8 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002519/0.3274, allocations: 68.95 kB / 408.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.3277, allocations: 73.17 kB / 409 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001619/0.3293, allocations: 1.853 MB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.3296, allocations: 47.95 kB / 410.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.3297, allocations: 11.17 kB / 410.9 MB, free: 15.5 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.0001953/0.3299, allocations: 158.3 kB / 411 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.3299, allocations: 37.08 kB / 411.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007504/0.3307, allocations: 326.7 kB / 411.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3307, allocations: 3.094 kB / 411.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3307, allocations: 5.094 kB / 411.4 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3307, allocations: 9.812 kB / 411.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005102/0.3312, allocations: 365.8 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3312, allocations: 1.5 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.3316, allocations: 56.69 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/0.3318, allocations: 62.22 kB / 411.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.3318, allocations: 8.188 kB / 411.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005178/0.3323, allocations: 0.6024 MB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3323, allocations: 0.75 kB / 412.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009696/0.3333, allocations: 0.5227 MB / 413 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.3334, allocations: 59.86 kB / 413.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.062e-05/0.3335, allocations: 7.031 kB / 413.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3337, allocations: 16.16 kB / 413.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.3338, allocations: 22.5 kB / 413.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.3338, allocations: 7.438 kB / 413.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002797/0.3341, allocations: 244.7 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3341, allocations: 0 / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005801/0.3347, allocations: 115 kB / 413.5 MB, free: 13.82 MB / 334.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.001355/0.336, allocations: 1.089 MB / 414.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008465/0.3369, allocations: 397.9 kB / 415 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3369, allocations: 1.125 kB / 415 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003511/0.3372, allocations: 132.1 kB / 415.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.3376, allocations: 48.84 kB / 415.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005286/0.3429, allocations: 3.745 MB / 418.9 MB, free: 9.945 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.3433, allocations: 0.7947 MB / 419.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.3435, allocations: 41.64 kB / 419.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.3437, allocations: 124.6 kB / 419.8 MB, free: 9.074 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3437, allocations: 0 / 419.8 MB, free: 9.074 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04007/0.3837, allocations: 8.03 MB / 427.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/13.85, allocations: 11.72 kB / 427.9 MB, free: 3.012 MB / 334.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.v_source from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! Error: Could not read variable opAmp.x in file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv. Warning: Get data of variable opAmp.x from file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.620703171996865]