Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001695/0.001695, allocations: 124.8 kB / 17.79 MB, free: 5.266 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.001957/0.001957, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.344/1.344, allocations: 225.6 MB / 249.1 MB, free: 3.625 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.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 47.92 kB / 365.7 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.1003, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004373/0.1047, allocations: 2.935 MB / 420.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.106, allocations: 0.744 MB / 421.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.1062, allocations: 4 kB / 421.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.1064, allocations: 47.52 kB / 421.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.1066, allocations: 111.2 kB / 421.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.1069, allocations: 115.8 kB / 421.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004684/0.1073, allocations: 414.4 kB / 422.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.1076, allocations: 95.27 kB / 422.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.1077, allocations: 151.5 kB / 422.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.108, allocations: 171.2 kB / 422.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.013e-05/0.108, allocations: 40 kB / 422.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.515e-05/0.1081, allocations: 40 kB / 422.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.085e-05/0.1082, allocations: 83.69 kB / 422.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.1084, allocations: 175.1 kB / 422.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000515/0.1089, allocations: 458.2 kB / 423.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1089, allocations: 0 / 423.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1089, allocations: 4 kB / 423.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1089, allocations: 0 / 423.4 MB, free: 7.008 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.001363/0.1102, allocations: 0.6806 MB / 424 MB, free: 6.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.1103, allocations: 16.03 kB / 424.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.244e-05/0.1104, allocations: 62.72 kB / 424.1 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.378e-05/0.1104, allocations: 36.75 kB / 424.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.1109, allocations: 299.7 kB / 424.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.111, allocations: 20.94 kB / 424.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.111, allocations: 24.38 kB / 424.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007109/0.1117, allocations: 327.8 kB / 424.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1117, allocations: 0 / 424.8 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.1118, allocations: 12 kB / 424.8 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1118, allocations: 4 kB / 424.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000809/0.1126, allocations: 286 kB / 425.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.1145, allocations: 1.155 MB / 426.3 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.1154, allocations: 242.5 kB / 426.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.1157, allocations: 101 kB / 426.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.1157, allocations: 7.922 kB / 426.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00048/0.1162, allocations: 181.8 kB / 426.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.1162, allocations: 0 / 426.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002301/0.1185, allocations: 0.6669 MB / 427.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.843e-05/0.1186, allocations: 106.8 kB / 427.6 MB, free: 2.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.1189, allocations: 286.6 kB / 427.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1189, allocations: 29.7 kB / 427.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1191, allocations: 204 kB / 428.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.1192, allocations: 47.64 kB / 428.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.1193, allocations: 49.94 kB / 428.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1194, allocations: 334.8 kB / 428.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.1198, allocations: 104.2 kB / 428.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.1202, allocations: 217.9 kB / 428.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000697/0.1209, allocations: 320.6 kB / 429.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1209, allocations: 0 / 429.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001239/0.1221, allocations: 485.4 kB / 429.6 MB, free: 376 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.253e-05/0.1222, allocations: 37.7 kB / 429.6 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.1222, allocations: 4 kB / 429.6 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/0.1226, allocations: 84.86 kB / 429.7 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.1228, allocations: 47.91 kB / 429.8 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/0.1258, allocations: 2.072 MB / 431.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.1261, allocations: 55.75 kB / 431.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.1262, allocations: 16 kB / 431.9 MB, free: 13.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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.000184/0.1264, allocations: 161.7 kB / 432.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.1264, allocations: 27.81 kB / 432.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.586e-05/0.1265, allocations: 29.83 kB / 432.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1265, allocations: 0 / 432.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1265, allocations: 0 / 432.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1265, allocations: 0 / 432.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003215/0.1268, allocations: 321.4 kB / 432.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1268, allocations: 0 / 432.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.1269, allocations: 27.97 kB / 432.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000265/0.1272, allocations: 76.8 kB / 432.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.1272, allocations: 4 kB / 432.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.1299, allocations: 1.994 MB / 434.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1299, allocations: 3.938 kB / 434.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.131, allocations: 373 kB / 434.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.374e-05/0.1311, allocations: 101 kB / 435 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.1311, allocations: 3.938 kB / 435 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.1313, allocations: 35.95 kB / 435 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.1314, allocations: 15.98 kB / 435 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1314, allocations: 4 kB / 435.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002432/0.1317, allocations: 210 kB / 435.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1317, allocations: 0 / 435.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004698/0.1321, allocations: 87.78 kB / 435.3 MB, free: 10.22 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.001507/0.1336, allocations: 0.9019 MB / 436.2 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.135, allocations: 498.2 kB / 436.7 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.135, allocations: 0 / 436.7 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004927/0.1355, allocations: 234.5 kB / 437 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1358, allocations: 54.75 kB / 437 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007528/0.1433, allocations: 3.586 MB / 440.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.1438, allocations: 0.7596 MB / 441.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.1439, allocations: 26.28 kB / 441.4 MB, free: 3.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.144, allocations: 83.42 kB / 441.5 MB, free: 3.828 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.144, allocations: 0 / 441.5 MB, free: 3.828 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2385/0.3826, allocations: 6.885 MB / 448.4 MB, free: 31.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.09, allocations: 6.172 kB / 448.4 MB, free: 31.04 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.627481729257852]