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.001163/0.001163, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001304/0.001304, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8574/0.8574, allocations: 177 MB / 204.1 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.833e-06/1.833e-06, allocations: 0 / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.207e-05, allocations: 2.281 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.002885/0.002908, allocations: 2.975 MB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.004355, allocations: 0.9584 MB / 328.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.00449, allocations: 8 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001396/0.004629, allocations: 59.36 kB / 328.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002958/0.004925, allocations: 126.8 kB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.005233, allocations: 163.5 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.005557, allocations: 0.4938 MB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.005735, allocations: 95.67 kB / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003308/0.006066, allocations: 295.2 kB / 329.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.006211, allocations: 151.5 kB / 329.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.006254, allocations: 40 kB / 329.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.006364, allocations: 75.95 kB / 330 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.006413, allocations: 91.66 kB / 330 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.357e-05/0.006507, allocations: 147.7 kB / 330.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.006898, allocations: 0.5217 MB / 330.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.006901, allocations: 0 / 330.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006902, allocations: 0 / 330.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.006907, allocations: 4 kB / 330.7 MB, free: 9.641 MB / 298.7 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.0008153/0.007723, allocations: 0.6529 MB / 331.4 MB, free: 8.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.007761, allocations: 11.98 kB / 331.4 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.958e-05/0.00782, allocations: 70.72 kB / 331.4 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.007948, allocations: 60.58 kB / 331.5 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.008268, allocations: 256.5 kB / 331.8 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.008289, allocations: 28.97 kB / 331.8 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.008332, allocations: 36.38 kB / 331.8 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.008775, allocations: 448.4 kB / 332.3 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.008786, allocations: 192 / 332.3 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.008812, allocations: 16.12 kB / 332.3 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.00882, allocations: 8 kB / 332.3 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.009121, allocations: 226.5 kB / 332.5 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.01032, allocations: 1.043 MB / 333.5 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/0.01083, allocations: 247.5 kB / 333.8 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.0112, allocations: 201.2 kB / 334 MB, free: 6.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.01144, allocations: 76.09 kB / 334.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.01148, allocations: 38.73 kB / 334.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.224e-06/0.01148, allocations: 0 / 334.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.000945/0.01242, allocations: 441.2 kB / 334.5 MB, free: 5.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.01247, allocations: 85.09 kB / 334.6 MB, free: 5.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.01276, allocations: 341.6 kB / 334.9 MB, free: 5.184 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/0.01279, allocations: 29.7 kB / 335 MB, free: 5.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.0129, allocations: 224.5 kB / 335.2 MB, free: 4.926 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.147e-05/0.01295, allocations: 103.1 kB / 335.3 MB, free: 4.824 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.01303, allocations: 74.06 kB / 335.4 MB, free: 4.742 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.872e-05/0.01312, allocations: 346.8 kB / 335.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.01328, allocations: 104.7 kB / 335.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.01347, allocations: 203.4 kB / 336 MB, free: 4.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003177/0.01378, allocations: 287.7 kB / 336.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.01379, allocations: 3.938 kB / 336.3 MB, free: 3.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005338/0.01432, allocations: 421.6 kB / 336.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.01434, allocations: 4 kB / 336.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.01435, allocations: 4 kB / 336.7 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.01457, allocations: 64.81 kB / 336.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.01476, allocations: 79.89 kB / 336.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.01612, allocations: 1.824 MB / 338.7 MB, free: 1.234 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.01628, allocations: 43.66 kB / 338.7 MB, free: 1.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.0163, allocations: 20.06 kB / 338.7 MB, free: 1.172 MB / 298.7 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.0001302/0.01643, allocations: 145.8 kB / 338.9 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.01647, allocations: 39.7 kB / 338.9 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.01691, allocations: 318.6 kB / 339.2 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01692, allocations: 4 kB / 339.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.01692, allocations: 0 / 339.2 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01692, allocations: 3.984 kB / 339.2 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.0172, allocations: 328.3 kB / 339.6 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.0172, allocations: 0 / 339.6 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.01737, allocations: 59.89 kB / 339.6 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.01751, allocations: 52.83 kB / 339.7 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.01753, allocations: 15.97 kB / 339.7 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003158/0.01785, allocations: 0.6149 MB / 340.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01785, allocations: 4.031 kB / 340.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005707/0.01842, allocations: 0.497 MB / 340.8 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.01846, allocations: 35.7 kB / 340.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.01849, allocations: 12 kB / 340.8 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.01861, allocations: 19.98 kB / 340.9 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.01866, allocations: 20.02 kB / 340.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.01867, allocations: 12 kB / 340.9 MB, free: 14.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.01884, allocations: 235.2 kB / 341.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01884, allocations: 0 / 341.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003364/0.01918, allocations: 115.8 kB / 341.2 MB, free: 14.56 MB / 314.7 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.0008706/0.02005, allocations: 1.074 MB / 342.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.02059, allocations: 390.1 kB / 342.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.0206, allocations: 0 / 342.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.02078, allocations: 120.4 kB / 342.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.02105, allocations: 44.44 kB / 342.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.02425, allocations: 3.618 MB / 346.5 MB, free: 9.145 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.02437, allocations: 190.5 kB / 346.7 MB, free: 8.934 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.02448, allocations: 42.94 kB / 346.7 MB, free: 8.891 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.0246, allocations: 124.5 kB / 346.8 MB, free: 8.77 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0246, allocations: 0 / 346.8 MB, free: 8.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/0.04545, allocations: 8.549 MB / 355.4 MB, free: 396 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/7.886, allocations: 19.06 kB / 355.4 MB, free: 380 kB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/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: 9.561805754899979]