Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001285/0.001285, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001554/0.001554, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.381/1.381, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 47.92 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2338, allocations: 53.36 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00452/0.2383, allocations: 3.28 MB / 435.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.2401, allocations: 1.029 MB / 436.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.2402, allocations: 4 kB / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.2404, allocations: 63.36 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.2408, allocations: 130.9 kB / 436.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003224/0.2411, allocations: 151.7 kB / 436.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.2416, allocations: 493.9 kB / 437.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.2418, allocations: 95.62 kB / 437.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.2421, allocations: 191.3 kB / 437.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000299/0.2424, allocations: 211.1 kB / 437.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.187e-05/0.2425, allocations: 40 kB / 437.6 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.2426, allocations: 83.91 kB / 437.7 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.183e-05/0.2427, allocations: 87.69 kB / 437.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.2429, allocations: 219 kB / 438 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005955/0.2435, allocations: 0.4983 MB / 438.5 MB, free: 316 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2435, allocations: 0 / 438.5 MB, free: 316 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2435, allocations: 7.938 kB / 438.5 MB, free: 308 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.2435, allocations: 0 / 438.5 MB, free: 308 kB / 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.001363/0.2449, allocations: 0.6724 MB / 439.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2449, allocations: 8.031 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.224e-05/0.2449, allocations: 8.844 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.329e-05/0.245, allocations: 70.72 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.2452, allocations: 52.66 kB / 439.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.2457, allocations: 265.2 kB / 439.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.2457, allocations: 25.03 kB / 439.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/0.2458, allocations: 32.38 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/0.2465, allocations: 356.9 kB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2465, allocations: 0 / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.897e-05/0.2466, allocations: 16 kB / 440 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.2466, allocations: 8 kB / 440 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005299/0.2471, allocations: 246.4 kB / 440.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.2491, allocations: 1.136 MB / 441.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.2498, allocations: 255.5 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.2503, allocations: 207 kB / 441.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.2506, allocations: 72.16 kB / 441.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2507, allocations: 38.78 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.293e-06/0.2507, allocations: 4 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001331/0.252, allocations: 460.5 kB / 442.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.2521, allocations: 81.11 kB / 442.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.2524, allocations: 341.6 kB / 442.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.2525, allocations: 33.7 kB / 442.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.2526, allocations: 220.5 kB / 443 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.235e-05/0.2527, allocations: 103.1 kB / 443.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.2529, allocations: 70.02 kB / 443.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.253, allocations: 350.7 kB / 443.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.2533, allocations: 112.6 kB / 443.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.2536, allocations: 181.8 kB / 443.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00052/0.2541, allocations: 296.6 kB / 444.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2541, allocations: 0 / 444.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008203/0.2549, allocations: 429.6 kB / 444.5 MB, free: 9.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.2549, allocations: 4 kB / 444.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.255, allocations: 4 kB / 444.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.2552, allocations: 68.75 kB / 444.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.2555, allocations: 71.89 kB / 444.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.2575, allocations: 1.848 MB / 446.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.2578, allocations: 35.73 kB / 446.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.2578, allocations: 19.98 kB / 446.6 MB, free: 7.781 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.0001871/0.258, allocations: 157.7 kB / 446.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.2581, allocations: 43.77 kB / 446.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007127/0.2588, allocations: 322.4 kB / 447.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.2588, allocations: 7.938 kB / 447.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.2588, allocations: 3.984 kB / 447.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2588, allocations: 0 / 447.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.2593, allocations: 364.3 kB / 447.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2593, allocations: 3.938 kB / 447.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.2596, allocations: 67.95 kB / 447.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/0.2598, allocations: 56.83 kB / 447.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.2598, allocations: 7.984 kB / 447.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004658/0.2603, allocations: 0.6147 MB / 448.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2603, allocations: 0 / 448.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/0.2612, allocations: 0.5141 MB / 448.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.2613, allocations: 35.7 kB / 448.8 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.2613, allocations: 8.062 kB / 448.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.2616, allocations: 27.97 kB / 448.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.2616, allocations: 11.97 kB / 448.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.2616, allocations: 12 kB / 448.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.2619, allocations: 243.2 kB / 449.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2619, allocations: 0 / 449.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004462/0.2623, allocations: 111.8 kB / 449.2 MB, free: 5.094 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.001314/0.2636, allocations: 1.089 MB / 450.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008108/0.2645, allocations: 394.5 kB / 450.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2645, allocations: 0 / 450.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/0.2648, allocations: 135.8 kB / 450.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.2652, allocations: 53.89 kB / 450.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.2702, allocations: 3.762 MB / 454.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.2706, allocations: 0.7912 MB / 455.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.2707, allocations: 34.95 kB / 455.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.2709, allocations: 131.4 kB / 455.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2709, allocations: 0 / 455.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.3057, allocations: 8.11 MB / 463.6 MB, free: 6.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13, allocations: 4 kB / 463.7 MB, free: 6.582 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.444349456985947]