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.001345/0.001345, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001359/0.001359, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.357/1.357, allocations: 225.6 MB / 253.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 43.92 kB / 371.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2484, allocations: 52.19 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004486/0.2529, allocations: 3.244 MB / 426.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.2549, allocations: 0.9702 MB / 427.6 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.2552, allocations: 11.94 kB / 427.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.2554, allocations: 63.41 kB / 427.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.2557, allocations: 118.9 kB / 427.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.2561, allocations: 151.7 kB / 428 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00049/0.2566, allocations: 485.9 kB / 428.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.2568, allocations: 95.62 kB / 428.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.257, allocations: 195.3 kB / 428.7 MB, free: 9.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.2573, allocations: 207.1 kB / 428.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.72e-05/0.2573, allocations: 40 kB / 429 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.2575, allocations: 71.97 kB / 429.1 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.2576, allocations: 95.61 kB / 429.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.2578, allocations: 214.9 kB / 429.4 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006202/0.2584, allocations: 0.4949 MB / 429.8 MB, free: 8.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.2584, allocations: 4 kB / 429.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2584, allocations: 0 / 429.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.2584, allocations: 8 kB / 429.9 MB, free: 8.141 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.001327/0.2597, allocations: 0.6607 MB / 430.5 MB, free: 7.449 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2598, allocations: 8.031 kB / 430.5 MB, free: 7.441 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.473e-05/0.2598, allocations: 12.84 kB / 430.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.272e-05/0.2599, allocations: 70.72 kB / 430.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.585e-05/0.26, allocations: 52.59 kB / 430.7 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.2604, allocations: 249.3 kB / 430.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.2604, allocations: 28.97 kB / 430.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.2604, allocations: 36.38 kB / 431 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.2611, allocations: 360.8 kB / 431.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2611, allocations: 0 / 431.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.2611, allocations: 8 kB / 431.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.2611, allocations: 8 kB / 431.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.2616, allocations: 238.5 kB / 431.6 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.2635, allocations: 1.128 MB / 432.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/0.2641, allocations: 263.6 kB / 433 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005016/0.2646, allocations: 193.3 kB / 433.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/0.265, allocations: 76.08 kB / 433.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.265, allocations: 38.8 kB / 433.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.392e-06/0.265, allocations: 0 / 433.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.00128/0.2663, allocations: 458.6 kB / 433.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.2663, allocations: 85.09 kB / 433.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.2667, allocations: 324.6 kB / 434.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.2667, allocations: 33.7 kB / 434.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.2669, allocations: 216.5 kB / 434.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.563e-05/0.267, allocations: 111.1 kB / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.2671, allocations: 70.03 kB / 434.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.2673, allocations: 350.7 kB / 434.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.2675, allocations: 104.7 kB / 435 MB, free: 2.805 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.2678, allocations: 189.7 kB / 435.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/0.2683, allocations: 296.3 kB / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2683, allocations: 0 / 435.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008208/0.2691, allocations: 421.6 kB / 435.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2692, allocations: 12.19 kB / 435.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2692, allocations: 11.98 kB / 435.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/0.2694, allocations: 60.83 kB / 435.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.2697, allocations: 75.89 kB / 436 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/0.2717, allocations: 1.855 MB / 437.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.272, allocations: 43.66 kB / 437.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.272, allocations: 20 kB / 437.9 MB, free: 15.66 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.0001869/0.2722, allocations: 149.7 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.06e-05/0.2723, allocations: 35.77 kB / 438.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000729/0.273, allocations: 330.7 kB / 438.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.273, allocations: 7.938 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.273, allocations: 0 / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.273, allocations: 3.984 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.2735, allocations: 364.4 kB / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2735, allocations: 0 / 438.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.2738, allocations: 55.89 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.274, allocations: 60.83 kB / 438.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.2741, allocations: 11.98 kB / 438.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004798/0.2745, allocations: 0.6031 MB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2745, allocations: 0 / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009253/0.2755, allocations: 0.5209 MB / 440.1 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.2755, allocations: 35.7 kB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/0.2756, allocations: 7.984 kB / 440.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.2758, allocations: 23.98 kB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.2759, allocations: 19.97 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.2759, allocations: 7.938 kB / 440.1 MB, free: 13.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.2761, allocations: 239 kB / 440.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2761, allocations: 0 / 440.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004435/0.2766, allocations: 115.7 kB / 440.5 MB, free: 12.98 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.001282/0.2779, allocations: 1.087 MB / 441.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008215/0.2787, allocations: 406.1 kB / 442 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2787, allocations: 0 / 442 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.279, allocations: 131.8 kB / 442.1 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.0003463/0.2794, allocations: 47.45 kB / 442.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005133/0.2845, allocations: 3.762 MB / 445.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.2849, allocations: 0.7873 MB / 446.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.2851, allocations: 38.95 kB / 446.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.2853, allocations: 127.4 kB / 446.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2853, allocations: 4 kB / 446.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03449/0.3197, allocations: 8.071 MB / 454.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.14, allocations: 4.062 kB / 454.9 MB, free: 14.52 MB / 366.1 MB " [Timeout remaining time 647] (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.594178716011811]