Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.001202/0.001202, allocations: 121.4 kB / 17.79 MB, free: 5.121 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.002017/0.002017, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.39/1.39, allocations: 225.6 MB / 249.1 MB, free: 3.645 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.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 43.92 kB / 365.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1048, allocations: 52.15 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004293/0.1091, allocations: 2.866 MB / 420.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1104, allocations: 0.7245 MB / 421.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.1105, allocations: 8 kB / 421.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.1107, allocations: 43.52 kB / 421.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.1109, allocations: 103.2 kB / 421.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.1112, allocations: 111.8 kB / 421.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.1116, allocations: 394.5 kB / 422.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.1118, allocations: 83.28 kB / 422.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.112, allocations: 163.4 kB / 422.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.1122, allocations: 163.3 kB / 422.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.1123, allocations: 36 kB / 422.5 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.655e-05/0.1123, allocations: 40 kB / 422.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.1124, allocations: 75.75 kB / 422.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.1126, allocations: 167.2 kB / 422.8 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004809/0.1131, allocations: 422.4 kB / 423.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1131, allocations: 4 kB / 423.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1131, allocations: 0 / 423.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1131, allocations: 3.938 kB / 423.2 MB, free: 7.188 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.001332/0.1144, allocations: 0.6573 MB / 423.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1145, allocations: 16.02 kB / 423.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.778e-05/0.1145, allocations: 58.73 kB / 423.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.231e-05/0.1146, allocations: 44.64 kB / 424 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.115, allocations: 296.8 kB / 424.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.115, allocations: 12.94 kB / 424.3 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.1151, allocations: 24.38 kB / 424.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006687/0.1157, allocations: 323.7 kB / 424.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1158, allocations: 0 / 424.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.1158, allocations: 8 kB / 424.6 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1158, allocations: 8 kB / 424.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000743/0.1165, allocations: 278.1 kB / 424.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.1184, allocations: 1.112 MB / 426 MB, free: 4.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008563/0.1192, allocations: 238.5 kB / 426.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.1195, allocations: 100.8 kB / 426.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1196, allocations: 0 / 426.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004756/0.12, allocations: 169 kB / 426.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.12, allocations: 0 / 426.5 MB, free: 3.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001061/0.1211, allocations: 317.2 kB / 426.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/0.1212, allocations: 85.09 kB / 426.9 MB, free: 3.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.1215, allocations: 270.5 kB / 427.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.1215, allocations: 29.7 kB / 427.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1217, allocations: 195.9 kB / 427.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.1217, allocations: 43.69 kB / 427.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.103e-05/0.1218, allocations: 53.66 kB / 427.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.122, allocations: 326.8 kB / 427.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.1223, allocations: 104.1 kB / 427.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.1227, allocations: 196.8 kB / 428.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006739/0.1234, allocations: 302 kB / 428.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1234, allocations: 0 / 428.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008512/0.1242, allocations: 371 kB / 428.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.1243, allocations: 33.7 kB / 428.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1243, allocations: 0 / 428.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.1243, allocations: 4 kB / 428.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.1246, allocations: 71.88 kB / 428.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.1246, allocations: 4 kB / 428.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.1249, allocations: 63.72 kB / 428.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.1249, allocations: 11.98 kB / 428.9 MB, free: 1.07 MB / 350.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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.125, allocations: 140.8 kB / 429.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.1251, allocations: 27.86 kB / 429.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/0.1251, allocations: 29.58 kB / 429.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1251, allocations: 4 kB / 429.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1252, allocations: 0 / 429.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1252, allocations: 3.938 kB / 429.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.1255, allocations: 317.4 kB / 429.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1255, allocations: 0 / 429.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.1257, allocations: 39.95 kB / 429.5 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1257, allocations: 4 kB / 429.5 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1257, allocations: 0 / 429.5 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1257, allocations: 0 / 429.5 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1257, allocations: 3.984 kB / 429.5 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.1267, allocations: 380.6 kB / 429.9 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.1268, allocations: 100.9 kB / 430 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.1269, allocations: 8 kB / 430 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002245/0.1271, allocations: 27.97 kB / 430 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.1272, allocations: 19.91 kB / 430 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1272, allocations: 8 kB / 430 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.1274, allocations: 190 kB / 430.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1274, allocations: 0 / 430.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.1277, allocations: 63.89 kB / 430.3 MB, free: 15.63 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/0.129, allocations: 0.9055 MB / 431.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000742/0.1298, allocations: 279.2 kB / 431.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1298, allocations: 0.6875 kB / 431.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.1301, allocations: 104 kB / 431.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1304, allocations: 56.33 kB / 431.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004479/0.1349, allocations: 2.904 MB / 434.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1353, allocations: 0.7557 MB / 435.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.1354, allocations: 22.28 kB / 435.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.1355, allocations: 83.41 kB / 435.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1355, allocations: 0 / 435.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03101/0.1665, allocations: 5.544 MB / 440.9 MB, free: 4.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.268, allocations: 11.33 kB / 440.9 MB, free: 4.887 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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: 10.977160341106355]