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.0008508/0.0008508, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009819/0.0009819, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.879/0.879, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 3.938 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.24e-05, allocations: 6.281 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.002728/0.002741, allocations: 2.988 MB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003981, allocations: 0.9661 MB / 328.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.004116, allocations: 7.938 kB / 328.5 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.004247, allocations: 55.42 kB / 328.6 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.004532, allocations: 122.9 kB / 328.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.004838, allocations: 175.4 kB / 328.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.00525, allocations: 497.7 kB / 329.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.005421, allocations: 95.67 kB / 329.5 MB, free: 11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003044/0.005726, allocations: 287.4 kB / 329.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.005867, allocations: 155.5 kB / 329.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.005905, allocations: 39.94 kB / 329.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.006012, allocations: 79.95 kB / 330 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.006057, allocations: 95.66 kB / 330.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.006144, allocations: 147.7 kB / 330.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.006502, allocations: 0.5139 MB / 330.8 MB, free: 9.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.006505, allocations: 4 kB / 330.8 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006506, allocations: 0 / 330.8 MB, free: 9.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.006511, allocations: 0 / 330.8 MB, free: 9.691 MB / 298.7 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.0009824/0.007493, allocations: 0.6567 MB / 331.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.007529, allocations: 8.031 kB / 331.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.566e-05/0.007585, allocations: 70.72 kB / 331.5 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.007703, allocations: 56.64 kB / 331.6 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.007992, allocations: 264.5 kB / 331.8 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.008012, allocations: 25.03 kB / 331.8 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.008053, allocations: 36.38 kB / 331.9 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.008478, allocations: 444.4 kB / 332.3 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.008488, allocations: 192 / 332.3 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.327e-05/0.008511, allocations: 16.12 kB / 332.3 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.008518, allocations: 8 kB / 332.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.008811, allocations: 234.5 kB / 332.6 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.009996, allocations: 1.039 MB / 333.6 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.01039, allocations: 243.5 kB / 333.8 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.01068, allocations: 201.3 kB / 334 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.01086, allocations: 68.16 kB / 334.1 MB, free: 6.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.01088, allocations: 34.8 kB / 334.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.413e-06/0.01088, allocations: 0 / 334.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001026/0.01191, allocations: 442.2 kB / 334.6 MB, free: 5.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.01194, allocations: 85.09 kB / 334.7 MB, free: 5.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.01217, allocations: 349.5 kB / 335 MB, free: 5.242 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.01219, allocations: 33.69 kB / 335 MB, free: 5.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.752e-05/0.01229, allocations: 224.4 kB / 335.3 MB, free: 4.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.01233, allocations: 103.1 kB / 335.4 MB, free: 4.879 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.01241, allocations: 70.06 kB / 335.4 MB, free: 4.801 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.01249, allocations: 350.7 kB / 335.8 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.01262, allocations: 100.7 kB / 335.9 MB, free: 4.352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.01279, allocations: 199.5 kB / 336.1 MB, free: 4.121 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.01308, allocations: 287.7 kB / 336.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01309, allocations: 0 / 336.3 MB, free: 3.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004645/0.01355, allocations: 421.4 kB / 336.8 MB, free: 3.391 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.01357, allocations: 4 kB / 336.8 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01357, allocations: 4.25 kB / 336.8 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.01374, allocations: 72.75 kB / 336.8 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.0139, allocations: 75.89 kB / 336.9 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.01503, allocations: 1.824 MB / 338.7 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.01516, allocations: 47.66 kB / 338.8 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.01517, allocations: 16 kB / 338.8 MB, free: 1.238 MB / 298.7 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.0001056/0.01528, allocations: 145.8 kB / 338.9 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.01532, allocations: 43.83 kB / 339 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.01572, allocations: 322.8 kB / 339.3 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01572, allocations: 3.938 kB / 339.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.51e-07/0.01572, allocations: 0 / 339.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01573, allocations: 7.984 kB / 339.3 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.01598, allocations: 320.3 kB / 339.6 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01598, allocations: 0 / 339.6 MB, free: 356 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.01614, allocations: 59.89 kB / 339.7 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001123/0.01625, allocations: 56.83 kB / 339.7 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.01627, allocations: 11.98 kB / 339.7 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002663/0.01654, allocations: 0.6147 MB / 340.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01654, allocations: 0 / 340.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005098/0.01705, allocations: 0.4935 MB / 340.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.539e-05/0.01708, allocations: 43.77 kB / 340.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.01711, allocations: 4 kB / 340.9 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.01723, allocations: 19.98 kB / 340.9 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.01726, allocations: 15.95 kB / 340.9 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.01728, allocations: 15.94 kB / 340.9 MB, free: 14.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.01742, allocations: 235.2 kB / 341.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01742, allocations: 0 / 341.2 MB, free: 14.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002803/0.01771, allocations: 111.8 kB / 341.3 MB, free: 14.63 MB / 314.7 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.0009735/0.01868, allocations: 1.081 MB / 342.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004833/0.01916, allocations: 394.4 kB / 342.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01916, allocations: 0 / 342.8 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.01934, allocations: 123.8 kB / 342.9 MB, free: 13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.01958, allocations: 37.48 kB / 342.9 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.02253, allocations: 3.61 MB / 346.5 MB, free: 9.211 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.02264, allocations: 190.5 kB / 346.7 MB, free: 9.004 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.083e-05/0.02273, allocations: 38.94 kB / 346.7 MB, free: 8.965 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.02285, allocations: 132.5 kB / 346.9 MB, free: 8.836 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02285, allocations: 0 / 346.9 MB, free: 8.836 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.04696, allocations: 8.559 MB / 355.4 MB, free: 476 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.015, allocations: 10.86 kB / 355.4 MB, free: 468 kB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins/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: 9.695484758354723]