Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001215/0.001215, allocations: 120.8 kB / 17.79 MB, free: 5.285 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.001235/0.001235, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.376/1.376, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.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.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 59.92 kB / 365.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1049, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004313/0.1092, allocations: 2.941 MB / 420.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1105, allocations: 0.7362 MB / 421.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001466/0.1107, allocations: 11.94 kB / 421.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.1108, allocations: 39.58 kB / 421.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.1111, allocations: 111.1 kB / 421.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1114, allocations: 119.8 kB / 421.8 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004528/0.1118, allocations: 410.5 kB / 422.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.1121, allocations: 87.27 kB / 422.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1123, allocations: 155.4 kB / 422.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.1125, allocations: 179.2 kB / 422.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.311e-05/0.1125, allocations: 40 kB / 422.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.1126, allocations: 44 kB / 422.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.966e-05/0.1127, allocations: 71.77 kB / 422.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.1129, allocations: 179.1 kB / 422.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005344/0.1134, allocations: 458.2 kB / 423.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1134, allocations: 0 / 423.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1134, allocations: 0 / 423.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.1134, allocations: 0 / 423.4 MB, free: 7.012 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001338/0.1147, allocations: 0.6844 MB / 424 MB, free: 6.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1148, allocations: 12.03 kB / 424.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.891e-05/0.1149, allocations: 62.73 kB / 424.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.1149, allocations: 32.75 kB / 424.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.1153, allocations: 295.8 kB / 424.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.1154, allocations: 20.94 kB / 424.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.1154, allocations: 24.38 kB / 424.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/0.1161, allocations: 335.7 kB / 424.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1161, allocations: 0 / 424.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.279e-05/0.1161, allocations: 12 kB / 424.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1162, allocations: 4 kB / 424.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007819/0.1169, allocations: 286.1 kB / 425.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.1188, allocations: 1.151 MB / 426.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008037/0.1196, allocations: 246.5 kB / 426.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.1199, allocations: 101 kB / 426.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.12, allocations: 3.938 kB / 426.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004555/0.1204, allocations: 181.9 kB / 426.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1204, allocations: 0 / 426.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002195/0.1226, allocations: 0.6655 MB / 427.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.1227, allocations: 110.8 kB / 427.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.123, allocations: 282.6 kB / 427.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.123, allocations: 33.64 kB / 427.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.1232, allocations: 208 kB / 428.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.1232, allocations: 43.69 kB / 428.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.484e-05/0.1233, allocations: 49.89 kB / 428.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1235, allocations: 338.8 kB / 428.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.1238, allocations: 104.4 kB / 428.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.1242, allocations: 205.6 kB / 428.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006802/0.1249, allocations: 307.7 kB / 429.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1249, allocations: 4 kB / 429.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001168/0.1261, allocations: 469.5 kB / 429.5 MB, free: 424 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.1261, allocations: 37.69 kB / 429.6 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.1261, allocations: 8.062 kB / 429.6 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000372/0.1265, allocations: 84.73 kB / 429.7 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.1267, allocations: 43.97 kB / 429.7 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/0.1294, allocations: 2.001 MB / 431.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.1297, allocations: 55.8 kB / 431.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.1298, allocations: 11.94 kB / 431.8 MB, free: 14.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.1299, allocations: 157.7 kB / 431.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.13, allocations: 23.86 kB / 432 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.13, allocations: 29.83 kB / 432 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.13, allocations: 4.031 kB / 432 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.13, allocations: 0 / 432 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.13, allocations: 0 / 432 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.1304, allocations: 325.4 kB / 432.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1304, allocations: 0 / 432.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.1305, allocations: 27.98 kB / 432.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002635/0.1308, allocations: 76.8 kB / 432.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1308, allocations: 0 / 432.4 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.1332, allocations: 1.828 MB / 434.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1332, allocations: 0 / 434.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1342, allocations: 365.5 kB / 434.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.1343, allocations: 101 kB / 434.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.1343, allocations: 7.984 kB / 434.7 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.1345, allocations: 31.97 kB / 434.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.198e-05/0.1346, allocations: 19.97 kB / 434.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1346, allocations: 7.938 kB / 434.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.1348, allocations: 202 kB / 435 MB, free: 10.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1348, allocations: 0 / 435 MB, free: 10.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000368/0.1352, allocations: 79.84 kB / 435 MB, free: 10.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001443/0.1366, allocations: 0.9084 MB / 436 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009881/0.1376, allocations: 432.7 kB / 436.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1376, allocations: 0 / 436.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.1381, allocations: 226.5 kB / 436.6 MB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.1384, allocations: 48.91 kB / 436.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/0.1437, allocations: 3.116 MB / 439.8 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.1441, allocations: 0.7557 MB / 440.5 MB, free: 4.789 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000114/0.1442, allocations: 34.27 kB / 440.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.1443, allocations: 83.41 kB / 440.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of SimCode: time 9.21e-07/0.1443, allocations: 0 / 440.6 MB, free: 4.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2114/0.3557, allocations: 6.891 MB / 447.5 MB, free: 30.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.27, allocations: 7.875 kB / 447.5 MB, free: 30.7 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.866414656396955]