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.001394/0.001394, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001569/0.001569, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.669/1.669, 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.001886/0.001886, allocations: 55.91 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4141, allocations: 49.16 MB / 396.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00484/0.4189, allocations: 3.204 MB / 399.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.4212, allocations: 1.014 MB / 400.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003295/0.4216, allocations: 5 kB / 400.6 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.4218, allocations: 56.42 kB / 400.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.4223, allocations: 134.5 kB / 400.8 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.4227, allocations: 147.3 kB / 400.9 MB, free: 5.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006192/0.4234, allocations: 489.1 kB / 401.4 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.4237, allocations: 107.6 kB / 401.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.424, allocations: 193.8 kB / 401.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.4244, allocations: 209.5 kB / 401.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.56e-05/0.4245, allocations: 40.53 kB / 401.9 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.4248, allocations: 76.3 kB / 402 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.696e-05/0.4249, allocations: 93.58 kB / 402.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.4252, allocations: 215 kB / 402.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.4262, allocations: 0.5023 MB / 402.8 MB, free: 4.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.4262, allocations: 0 / 402.8 MB, free: 4.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.4262, allocations: 1.094 kB / 402.8 MB, free: 4.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.4262, allocations: 0 / 402.8 MB, free: 4.859 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.001588/0.4278, allocations: 0.6738 MB / 403.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.4279, allocations: 12.83 kB / 403.5 MB, free: 4.375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.371e-05/0.4279, allocations: 72.12 kB / 403.6 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.4281, allocations: 47.16 kB / 403.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.4284, allocations: 246.1 kB / 403.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.4285, allocations: 22.06 kB / 403.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/0.4286, allocations: 36.36 kB / 403.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007008/0.4293, allocations: 358.8 kB / 404.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4293, allocations: 0 / 404.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.296e-05/0.4293, allocations: 15.38 kB / 404.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4293, allocations: 8.594 kB / 404.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.4298, allocations: 240.2 kB / 404.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002246/0.4321, allocations: 1.13 MB / 405.6 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008095/0.4329, allocations: 260.7 kB / 405.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/0.4335, allocations: 201.4 kB / 406.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003891/0.4339, allocations: 68.81 kB / 406.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.4339, allocations: 36.64 kB / 406.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 2.645e-06/0.4339, allocations: 1.375 kB / 406.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001724/0.4356, allocations: 464.7 kB / 406.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4357, allocations: 82.03 kB / 406.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.4362, allocations: 335.5 kB / 407.1 MB, free: 2.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.4363, allocations: 32.45 kB / 407.1 MB, free: 2.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.4364, allocations: 222.4 kB / 407.3 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/0.4365, allocations: 106.3 kB / 407.4 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.4367, allocations: 74 kB / 407.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4368, allocations: 350.9 kB / 407.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.4371, allocations: 105.8 kB / 407.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.4375, allocations: 181.1 kB / 408.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.4382, allocations: 297.3 kB / 408.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.4382, allocations: 1.438 kB / 408.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009813/0.4392, allocations: 433.3 kB / 408.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.4392, allocations: 5.5 kB / 408.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.4392, allocations: 2.75 kB / 408.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/0.4396, allocations: 72.17 kB / 408.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.4399, allocations: 74.31 kB / 409 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.4424, allocations: 1.852 MB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.4428, allocations: 43.78 kB / 410.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.4429, allocations: 15.2 kB / 410.9 MB, free: 15.49 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.000349/0.4432, allocations: 161.6 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.4434, allocations: 37.8 kB / 411.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.4444, allocations: 323.5 kB / 411.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4444, allocations: 7.438 kB / 411.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4444, allocations: 7.938 kB / 411.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.4445, allocations: 1.359 kB / 411.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000922/0.4454, allocations: 366.8 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4454, allocations: 0.6094 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.4458, allocations: 53.22 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003106/0.4461, allocations: 57.78 kB / 411.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.4461, allocations: 11.91 kB / 411.9 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007523/0.4469, allocations: 0.6108 MB / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4469, allocations: 0.7031 kB / 412.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.4482, allocations: 0.523 MB / 413 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.4484, allocations: 59.62 kB / 413.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.4485, allocations: 11.06 kB / 413.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.4488, allocations: 16.44 kB / 413.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4489, allocations: 18.44 kB / 413.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.4489, allocations: 7.594 kB / 413.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004625/0.4494, allocations: 245.5 kB / 413.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4494, allocations: 1.125 kB / 413.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008269/0.4502, allocations: 111.2 kB / 413.5 MB, free: 13.81 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.002332/0.4526, allocations: 1.085 MB / 414.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.454, allocations: 400.7 kB / 415 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.454, allocations: 4.188 kB / 415 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.4544, allocations: 137.2 kB / 415.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.455, allocations: 42.66 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.00853/0.4636, allocations: 3.742 MB / 418.9 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/0.4643, allocations: 0.7894 MB / 419.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002363/0.4646, allocations: 37.73 kB / 419.7 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.4648, allocations: 124.2 kB / 419.8 MB, free: 9.086 MB / 334.1 MB Notification: Performance of SimCode: time 2.495e-06/0.4648, allocations: 4 kB / 419.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05601/0.5208, allocations: 8.04 MB / 427.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.3, allocations: 11.72 kB / 427.9 MB, free: 3.027 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.161390451015905]