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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 120 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.385/1.385, allocations: 207.6 MB / 231.8 MB, free: 4.02 MB / 174.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 51.92 kB / 342.3 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09372, allocations: 49.11 MB / 391.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00448/0.0982, allocations: 3.201 MB / 394.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1, allocations: 1.01 MB / 395.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.1002, allocations: 4 kB / 395.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.1004, allocations: 59.42 kB / 395.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003941/0.1007, allocations: 126.9 kB / 395.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.1011, allocations: 147.7 kB / 395.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.1016, allocations: 493.8 kB / 396.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.1018, allocations: 98.95 kB / 396.5 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.1021, allocations: 195.3 kB / 396.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.1024, allocations: 203.1 kB / 396.9 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.1024, allocations: 43.94 kB / 396.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.1026, allocations: 75.95 kB / 397 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.619e-05/0.1027, allocations: 91.69 kB / 397.1 MB, free: 3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002113/0.1029, allocations: 219 kB / 397.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006335/0.1035, allocations: 0.4902 MB / 397.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.1036, allocations: 7.938 kB / 397.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1036, allocations: 0 / 397.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1036, allocations: 0 / 397.8 MB, free: 2.285 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.001403/0.105, allocations: 0.7477 MB / 398.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.105, allocations: 8.031 kB / 398.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.324e-05/0.1051, allocations: 66.73 kB / 398.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.794e-05/0.1052, allocations: 52.64 kB / 398.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004603/0.1056, allocations: 311.5 kB / 399 MB, free: 1.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.1057, allocations: 25.03 kB / 399 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.1057, allocations: 36.31 kB / 399 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.1064, allocations: 353.2 kB / 399.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1064, allocations: 0 / 399.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.1064, allocations: 12 kB / 399.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.567e-06/0.1064, allocations: 8 kB / 399.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004954/0.1069, allocations: 242.4 kB / 399.6 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.109, allocations: 1.167 MB / 400.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/0.1096, allocations: 264.5 kB / 401.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/0.1101, allocations: 205.2 kB / 401.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009207/0.111, allocations: 1.109 MB / 402.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.1111, allocations: 38.8 kB / 402.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.094e-06/0.1111, allocations: 0 / 402.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001361/0.1124, allocations: 0.5322 MB / 402.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.1125, allocations: 89.09 kB / 403 MB, free: 12.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.1129, allocations: 341.6 kB / 403.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.1129, allocations: 33.7 kB / 403.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.1131, allocations: 208.5 kB / 403.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.302e-05/0.1132, allocations: 107.1 kB / 403.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.1133, allocations: 70.03 kB / 403.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1134, allocations: 350.7 kB / 404.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.1137, allocations: 108.6 kB / 404.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.114, allocations: 185.8 kB / 404.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.1145, allocations: 288.2 kB / 404.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.1145, allocations: 4 kB / 404.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008407/0.1153, allocations: 433.4 kB / 405.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1153, allocations: 11.91 kB / 405.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1153, allocations: 0 / 405.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/0.1156, allocations: 68.75 kB / 405.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.1159, allocations: 75.91 kB / 405.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.118, allocations: 1.951 MB / 407.2 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.1182, allocations: 43.72 kB / 407.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.1182, allocations: 16 kB / 407.3 MB, free: 8.051 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.0001883/0.1184, allocations: 157.6 kB / 407.4 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.1185, allocations: 43.81 kB / 407.5 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007157/0.1192, allocations: 330.2 kB / 407.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1192, allocations: 0 / 407.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1192, allocations: 3.938 kB / 407.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1192, allocations: 0 / 407.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.1197, allocations: 401.2 kB / 408.2 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1197, allocations: 0 / 408.2 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.12, allocations: 59.91 kB / 408.2 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002004/0.1202, allocations: 60.81 kB / 408.3 MB, free: 6.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.1202, allocations: 4 kB / 408.3 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004736/0.1207, allocations: 0.6226 MB / 408.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1207, allocations: 0 / 408.9 MB, free: 6.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008888/0.1216, allocations: 0.5172 MB / 409.5 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.1217, allocations: 132.8 kB / 409.6 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.1218, allocations: 8 kB / 409.6 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.122, allocations: 24.05 kB / 409.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.1221, allocations: 19.95 kB / 409.6 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.1221, allocations: 8 kB / 409.6 MB, free: 5.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002505/0.1223, allocations: 239.2 kB / 409.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1223, allocations: 0 / 409.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000448/0.1228, allocations: 111.8 kB / 410 MB, free: 5.207 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.001357/0.1242, allocations: 1.085 MB / 411.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009573/0.1251, allocations: 402.3 kB / 411.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1251, allocations: 4 kB / 411.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003362/0.1254, allocations: 135.7 kB / 411.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1258, allocations: 45.89 kB / 411.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00537/0.1312, allocations: 3.756 MB / 415.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.1317, allocations: 0.7912 MB / 416.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001689/0.1319, allocations: 38.95 kB / 416.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.1321, allocations: 123.4 kB / 416.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of SimCode: time 1.263e-06/0.1321, allocations: 0 / 416.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03638/0.1685, allocations: 7.793 MB / 424.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/11.97, allocations: 8.641 kB / 424.1 MB, free: 6.777 MB / 350.1 MB " [Timeout remaining time 648] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.356354762800038]