Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001322/0.001322, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001499/0.001499, allocations: 186.4 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 47.92 kB / 370.4 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2457, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004481/0.2502, allocations: 3.258 MB / 425.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2518, allocations: 0.9701 MB / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.2519, allocations: 8 kB / 426.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.2521, allocations: 63.36 kB / 426.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.2524, allocations: 119 kB / 427 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.2528, allocations: 151.6 kB / 427.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004917/0.2533, allocations: 482 kB / 427.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.2535, allocations: 95.62 kB / 427.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.2537, allocations: 191.3 kB / 427.9 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.254, allocations: 215.1 kB / 428.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.827e-05/0.254, allocations: 36 kB / 428.2 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.2542, allocations: 75.97 kB / 428.3 MB, free: 8.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.2543, allocations: 91.69 kB / 428.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.2545, allocations: 214.9 kB / 428.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.255, allocations: 0.4983 MB / 429.1 MB, free: 8.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.255, allocations: 0 / 429.1 MB, free: 8.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.255, allocations: 0 / 429.1 MB, free: 8.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.255, allocations: 0 / 429.1 MB, free: 8.148 MB / 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.001291/0.2563, allocations: 0.6763 MB / 429.7 MB, free: 7.441 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2564, allocations: 8.031 kB / 429.7 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.391e-05/0.2564, allocations: 70.72 kB / 429.8 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/0.2565, allocations: 48.66 kB / 429.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.2569, allocations: 249.3 kB / 430.1 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.257, allocations: 29.03 kB / 430.1 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.257, allocations: 32.38 kB / 430.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.2577, allocations: 353.2 kB / 430.5 MB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2577, allocations: 0 / 430.5 MB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.2577, allocations: 16 kB / 430.5 MB, free: 6.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2577, allocations: 8 kB / 430.5 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005067/0.2582, allocations: 238.4 kB / 430.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.2602, allocations: 1.128 MB / 431.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.2608, allocations: 267 kB / 432.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005067/0.2613, allocations: 201.1 kB / 432.4 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003256/0.2617, allocations: 76.22 kB / 432.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2617, allocations: 34.8 kB / 432.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.2617, allocations: 0 / 432.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001309/0.263, allocations: 466.6 kB / 432.9 MB, free: 4.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.2631, allocations: 81.11 kB / 433 MB, free: 4.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003691/0.2634, allocations: 332.5 kB / 433.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.2635, allocations: 29.7 kB / 433.3 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.2636, allocations: 212.4 kB / 433.6 MB, free: 3.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.344e-05/0.2637, allocations: 115.1 kB / 433.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.2638, allocations: 70.03 kB / 433.7 MB, free: 3.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.264, allocations: 350.7 kB / 434.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.2642, allocations: 108.7 kB / 434.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.2645, allocations: 181.8 kB / 434.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/0.265, allocations: 300.3 kB / 434.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.265, allocations: 0 / 434.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000809/0.2658, allocations: 421.6 kB / 435.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2658, allocations: 8 kB / 435.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2658, allocations: 0 / 435.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.2661, allocations: 72.97 kB / 435.1 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.2664, allocations: 75.91 kB / 435.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.2683, allocations: 1.836 MB / 437.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.2686, allocations: 55.69 kB / 437.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.2686, allocations: 12 kB / 437.1 MB, free: 15.68 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.000172/0.2688, allocations: 157.7 kB / 437.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.2688, allocations: 35.77 kB / 437.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00071/0.2695, allocations: 338.5 kB / 437.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2695, allocations: 4 kB / 437.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.2696, allocations: 7.938 kB / 437.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.2696, allocations: 3.984 kB / 437.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.27, allocations: 364.4 kB / 438 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.27, allocations: 0 / 438 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.2703, allocations: 55.95 kB / 438.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/0.2705, allocations: 60.81 kB / 438.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.2706, allocations: 12 kB / 438.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004452/0.271, allocations: 0.6069 MB / 438.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.271, allocations: 0 / 438.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009131/0.2719, allocations: 0.517 MB / 439.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.272, allocations: 39.69 kB / 439.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.495e-05/0.272, allocations: 8 kB / 439.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.2723, allocations: 19.98 kB / 439.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.2723, allocations: 15.97 kB / 439.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.2724, allocations: 12 kB / 439.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002497/0.2726, allocations: 235 kB / 439.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2726, allocations: 0 / 439.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004438/0.2731, allocations: 115.8 kB / 439.7 MB, free: 12.99 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.00131/0.2744, allocations: 1.088 MB / 440.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008336/0.2752, allocations: 406.5 kB / 441.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2752, allocations: 0 / 441.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.2755, allocations: 131.8 kB / 441.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.2759, allocations: 53.69 kB / 441.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/0.281, allocations: 3.751 MB / 445.1 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.2814, allocations: 0.7951 MB / 445.9 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.2816, allocations: 26.97 kB / 445.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.2818, allocations: 135.4 kB / 446.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2818, allocations: 0 / 446.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/0.3214, allocations: 8.028 MB / 454.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.42, allocations: 14.41 kB / 454.1 MB, free: 14.54 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 15.849825988989323]