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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 131.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 211.6 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 63.89 kB / 373 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1075, allocations: 53.38 MB / 426.4 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.005587/0.1131, allocations: 3.261 MB / 429.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.1152, allocations: 1.036 MB / 430.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003964/0.1156, allocations: 4 kB / 430.7 MB, free: 280 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.1159, allocations: 59.36 kB / 430.7 MB, free: 220 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000594/0.1165, allocations: 127 kB / 430.8 MB, free: 92 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.214/0.3305, allocations: 147.7 kB / 431 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008611/0.3314, allocations: 492 kB / 431.5 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.3316, allocations: 95.98 kB / 431.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000488/0.3321, allocations: 196 kB / 431.8 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.3325, allocations: 210 kB / 432 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.3326, allocations: 40.75 kB / 432 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.3329, allocations: 77.95 kB / 432.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.333, allocations: 92.89 kB / 432.2 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.3332, allocations: 216.5 kB / 432.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006219/0.3339, allocations: 0.501 MB / 432.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3339, allocations: 2.031 kB / 432.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3339, allocations: 0 / 432.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.3339, allocations: 0 / 432.9 MB, free: 7.465 MB / 350.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.001355/0.3352, allocations: 0.7457 MB / 433.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.3353, allocations: 8.688 kB / 433.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.88e-05/0.3354, allocations: 68.73 kB / 433.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.3356, allocations: 59.36 kB / 433.8 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.336, allocations: 323 kB / 434.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.336, allocations: 29.62 kB / 434.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.3361, allocations: 32.75 kB / 434.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006185/0.3367, allocations: 356.3 kB / 434.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3367, allocations: 1.094 kB / 434.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.3367, allocations: 14.22 kB / 434.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.3368, allocations: 7.5 kB / 434.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.3372, allocations: 229.9 kB / 434.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.3392, allocations: 1.174 MB / 435.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.3398, allocations: 261.8 kB / 436.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.3403, allocations: 202.9 kB / 436.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005209/0.3409, allocations: 1.114 MB / 437.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.3409, allocations: 41.12 kB / 437.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.3409, allocations: 0 / 437.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001368/0.3423, allocations: 0.523 MB / 438 MB, free: 4.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3423, allocations: 84.67 kB / 438.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.3427, allocations: 337.8 kB / 438.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.3427, allocations: 32.88 kB / 438.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.3428, allocations: 222.6 kB / 438.7 MB, free: 4.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.3429, allocations: 99.58 kB / 438.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.343, allocations: 71.2 kB / 438.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.3431, allocations: 350.5 kB / 439.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002456/0.3434, allocations: 106.3 kB / 439.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.3436, allocations: 184.7 kB / 439.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.3441, allocations: 292.4 kB / 439.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3441, allocations: 0 / 439.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008492/0.345, allocations: 438 kB / 440.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.345, allocations: 6.562 kB / 440.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.345, allocations: 2.938 kB / 440.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002677/0.3453, allocations: 64.14 kB / 440.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.3456, allocations: 80.92 kB / 440.4 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.3471, allocations: 1.963 MB / 442.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.3474, allocations: 39.06 kB / 442.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.3474, allocations: 15.41 kB / 442.4 MB, free: 1.32 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.0001566/0.3476, allocations: 156.6 kB / 442.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.3476, allocations: 41.91 kB / 442.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007374/0.3484, allocations: 325.5 kB / 442.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3484, allocations: 4.078 kB / 442.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3484, allocations: 3.938 kB / 442.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3484, allocations: 2.531 kB / 442.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.3489, allocations: 394.8 kB / 443.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3489, allocations: 0 / 443.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.3492, allocations: 65 kB / 443.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.3494, allocations: 54.56 kB / 443.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.3495, allocations: 8.156 kB / 443.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003178/0.3498, allocations: 0.6123 MB / 444 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3498, allocations: 0.5 kB / 444 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.3508, allocations: 0.5172 MB / 444.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.3509, allocations: 116.7 kB / 444.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.351, allocations: 6.375 kB / 444.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.3513, allocations: 24.48 kB / 444.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.3513, allocations: 18.84 kB / 444.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.3513, allocations: 11.05 kB / 444.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000297/0.3516, allocations: 237.5 kB / 444.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3516, allocations: 0 / 444.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005136/0.3522, allocations: 112.5 kB / 445.1 MB, free: 15.56 MB / 366.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.00145/0.3536, allocations: 1.083 MB / 446.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008901/0.3545, allocations: 399.4 kB / 446.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3545, allocations: 2.172 kB / 446.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.3548, allocations: 135.4 kB / 446.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.3552, allocations: 47.77 kB / 446.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005753/0.361, allocations: 3.756 MB / 450.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000468/0.3615, allocations: 0.7904 MB / 451.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.3616, allocations: 40.62 kB / 451.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.3618, allocations: 129.8 kB / 451.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3618, allocations: 0 / 451.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04465/0.4065, allocations: 7.832 MB / 459.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.34, allocations: 24.36 kB / 459.3 MB, free: 9.266 MB / 366.1 MB " [Timeout remaining time 648] (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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_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! " [Timeout remaining time 660] "" 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 [Calling sys.exit(0), Time elapsed: 14.973195279948413]