Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001608/0.001608, 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.001491/0.001491, 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.368/1.368, 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.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 55.91 kB / 365.7 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1031, allocations: 52.14 MB / 417.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004155/0.1072, allocations: 2.871 MB / 420.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1085, allocations: 0.7245 MB / 421.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1086, allocations: 4 kB / 421.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.1088, allocations: 55.56 kB / 421.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.109, allocations: 95.19 kB / 421.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.1093, allocations: 119.8 kB / 421.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000414/0.1097, allocations: 386.5 kB / 422.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.1099, allocations: 91.27 kB / 422.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.1101, allocations: 151.4 kB / 422.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.1103, allocations: 175.3 kB / 422.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.582e-05/0.1104, allocations: 40 kB / 422.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-05/0.1104, allocations: 36 kB / 422.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.1105, allocations: 71.77 kB / 422.6 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.1107, allocations: 167.2 kB / 422.8 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.1112, allocations: 422.4 kB / 423.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1112, allocations: 3.938 kB / 423.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1112, allocations: 0 / 423.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1112, allocations: 0 / 423.2 MB, free: 7.176 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001314/0.1125, allocations: 0.6641 MB / 423.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1125, allocations: 8.031 kB / 423.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.397e-05/0.1126, allocations: 66.66 kB / 423.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.217e-05/0.1127, allocations: 36.7 kB / 424 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.1131, allocations: 296.8 kB / 424.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.1131, allocations: 20.94 kB / 424.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.1132, allocations: 24.38 kB / 424.3 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006926/0.1139, allocations: 323.7 kB / 424.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1139, allocations: 0 / 424.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.1139, allocations: 12 kB / 424.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1139, allocations: 4 kB / 424.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007703/0.1147, allocations: 274.1 kB / 424.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.1168, allocations: 1.161 MB / 426.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008569/0.1176, allocations: 242.5 kB / 426.3 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.1179, allocations: 104.8 kB / 426.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1179, allocations: 0 / 426.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004494/0.1184, allocations: 169 kB / 426.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.1184, allocations: 3.938 kB / 426.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002003/0.1204, allocations: 0.5966 MB / 427.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.1205, allocations: 77.11 kB / 427.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.1208, allocations: 262.6 kB / 427.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.1208, allocations: 29.7 kB / 427.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.121, allocations: 199.9 kB / 427.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.121, allocations: 39.69 kB / 427.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.03e-05/0.1211, allocations: 53.66 kB / 427.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1213, allocations: 330.8 kB / 428.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.1216, allocations: 104.2 kB / 428.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/0.1221, allocations: 192.8 kB / 428.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.1228, allocations: 306.1 kB / 428.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1228, allocations: 4 kB / 428.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001189/0.124, allocations: 447.8 kB / 429.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.124, allocations: 45.7 kB / 429.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.124, allocations: 0 / 429.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000328/0.1243, allocations: 64.81 kB / 429.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.1246, allocations: 55.89 kB / 429.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.1269, allocations: 1.637 MB / 431 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.1272, allocations: 47.8 kB / 431 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.1273, allocations: 15.94 kB / 431 MB, free: 14.79 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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.1274, allocations: 145.8 kB / 431.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.1275, allocations: 27.84 kB / 431.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.1275, allocations: 21.7 kB / 431.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1275, allocations: 4 kB / 431.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1275, allocations: 0 / 431.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1275, allocations: 0 / 431.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003487/0.1279, allocations: 325.3 kB / 431.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1279, allocations: 0 / 431.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.1281, allocations: 31.97 kB / 431.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/0.1283, allocations: 60.81 kB / 431.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.1283, allocations: 8 kB / 431.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.1304, allocations: 1.621 MB / 433.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1304, allocations: 0 / 433.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.1317, allocations: 461.4 kB / 433.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.1318, allocations: 105 kB / 433.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.1318, allocations: 4 kB / 433.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.132, allocations: 27.97 kB / 433.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.1321, allocations: 19.97 kB / 433.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.1321, allocations: 4 kB / 433.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.1323, allocations: 186 kB / 434 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1323, allocations: 0 / 434 MB, free: 11.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000331/0.1326, allocations: 71.89 kB / 434.1 MB, free: 11.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001694/0.1343, allocations: 0.9877 MB / 435.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009451/0.1353, allocations: 402 kB / 435.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1353, allocations: 0 / 435.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.1357, allocations: 215.1 kB / 435.7 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.136, allocations: 54.84 kB / 435.8 MB, free: 9.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00736/0.1434, allocations: 3.409 MB / 439.2 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1438, allocations: 0.7519 MB / 439.9 MB, free: 5.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1439, allocations: 26.28 kB / 439.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.144, allocations: 79.41 kB / 440 MB, free: 5.285 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.144, allocations: 0 / 440 MB, free: 5.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1992/0.3432, allocations: 6.309 MB / 446.3 MB, free: 30.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.39, allocations: 8.75 kB / 446.3 MB, free: 30.66 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.014376292005181]