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.001353/0.001353, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001521/0.001521, allocations: 219.8 kB / 24.53 MB, free: 4.008 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.449/1.449, allocations: 230.5 MB / 258.2 MB, free: 8.035 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003063/0.003063, allocations: 59.91 kB / 378.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3252, allocations: 53.41 MB / 432 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004524/0.3297, allocations: 3.271 MB / 435.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3315, allocations: 1.021 MB / 436.3 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.3317, allocations: 7.938 kB / 436.3 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.3318, allocations: 59.41 kB / 436.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.3322, allocations: 134.9 kB / 436.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.3325, allocations: 155.7 kB / 436.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005218/0.333, allocations: 497.9 kB / 437.1 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.3332, allocations: 87.64 kB / 437.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.3335, allocations: 199.3 kB / 437.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.3338, allocations: 207 kB / 437.6 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.755e-05/0.3338, allocations: 44 kB / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.334, allocations: 79.95 kB / 437.7 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.22e-05/0.3341, allocations: 95.67 kB / 437.8 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.3343, allocations: 214.9 kB / 438 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005458/0.3348, allocations: 0.5022 MB / 438.5 MB, free: 136 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3348, allocations: 0 / 438.5 MB, free: 136 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3348, allocations: 0 / 438.5 MB, free: 136 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3348, allocations: 0 / 438.5 MB, free: 136 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.001312/0.3361, allocations: 0.6687 MB / 439.2 MB, free: 15.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3362, allocations: 8.031 kB / 439.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.182e-05/0.3362, allocations: 12.84 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.447e-05/0.3363, allocations: 70.72 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.3364, allocations: 56.64 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.3369, allocations: 261.2 kB / 439.6 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.3369, allocations: 25.03 kB / 439.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/0.3369, allocations: 36.38 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006389/0.3376, allocations: 352.9 kB / 440 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3376, allocations: 4 kB / 440 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.3376, allocations: 8 kB / 440 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.3376, allocations: 11.94 kB / 440 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.3382, allocations: 242.5 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.3401, allocations: 1.132 MB / 441.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/0.3407, allocations: 267.5 kB / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/0.3412, allocations: 193.9 kB / 441.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/0.3415, allocations: 76.16 kB / 441.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.3416, allocations: 38.8 kB / 441.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.282e-06/0.3416, allocations: 0 / 441.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001334/0.3429, allocations: 468.6 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.343, allocations: 85.05 kB / 442.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.3433, allocations: 341.6 kB / 442.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.3434, allocations: 33.7 kB / 442.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.3435, allocations: 216.5 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.296e-05/0.3436, allocations: 107.1 kB / 443.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.3438, allocations: 70.02 kB / 443.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.344, allocations: 350.7 kB / 443.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.3442, allocations: 100.7 kB / 443.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.3445, allocations: 185.8 kB / 443.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.345, allocations: 288 kB / 444.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.345, allocations: 0 / 444.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008488/0.3459, allocations: 433.5 kB / 444.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3459, allocations: 4 kB / 444.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.3459, allocations: 4 kB / 444.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/0.3462, allocations: 72.91 kB / 444.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.3465, allocations: 79.89 kB / 444.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.3486, allocations: 1.84 MB / 446.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.3488, allocations: 51.72 kB / 446.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.3489, allocations: 16 kB / 446.6 MB, free: 7.602 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.3491, allocations: 153.7 kB / 446.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.3491, allocations: 43.69 kB / 446.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007423/0.3499, allocations: 326.3 kB / 447.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.3499, allocations: 11.94 kB / 447.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.3499, allocations: 0 / 447.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3499, allocations: 0 / 447.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.3503, allocations: 372.3 kB / 447.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3503, allocations: 0 / 447.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.3507, allocations: 51.97 kB / 447.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.3508, allocations: 60.81 kB / 447.6 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.3509, allocations: 12 kB / 447.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004656/0.3513, allocations: 0.6147 MB / 448.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3513, allocations: 0 / 448.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009357/0.3523, allocations: 0.5179 MB / 448.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.3523, allocations: 35.69 kB / 448.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.3524, allocations: 8 kB / 448.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002558/0.3526, allocations: 19.98 kB / 448.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.3527, allocations: 19.95 kB / 448.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.3527, allocations: 8 kB / 448.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002538/0.353, allocations: 243.2 kB / 449.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.353, allocations: 0 / 449.1 MB, free: 5.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000438/0.3534, allocations: 115.8 kB / 449.2 MB, free: 4.91 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.00136/0.3548, allocations: 1.088 MB / 450.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008413/0.3556, allocations: 398.9 kB / 450.7 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3556, allocations: 4.062 kB / 450.7 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.356, allocations: 131.8 kB / 450.8 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.3563, allocations: 43.75 kB / 450.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005347/0.3617, allocations: 3.773 MB / 454.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.3621, allocations: 0.7912 MB / 455.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001587/0.3622, allocations: 30.97 kB / 455.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.3624, allocations: 131.4 kB / 455.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3624, allocations: 0 / 455.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.3946, allocations: 8.083 MB / 463.7 MB, free: 6.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.57, allocations: 20.08 kB / 463.7 MB, free: 6.391 MB / 366.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.199599886022042]