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.001344/0.001344, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001396/0.001396, allocations: 180.5 kB / 23.72 MB, free: 4.699 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.424/1.424, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.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.001613/0.001613, allocations: 47.92 kB / 370.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2746, allocations: 52.18 MB / 422.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004488/0.2791, allocations: 2.89 MB / 425.5 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2805, allocations: 0.74 MB / 426.3 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.2807, allocations: 11.88 kB / 426.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.2809, allocations: 43.58 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.2811, allocations: 103.2 kB / 426.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.2814, allocations: 119.8 kB / 426.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000492/0.2819, allocations: 390.5 kB / 426.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.2821, allocations: 87.67 kB / 427 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.2824, allocations: 151.5 kB / 427.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.2826, allocations: 167.3 kB / 427.3 MB, free: 9.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.804e-05/0.2827, allocations: 36 kB / 427.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.792e-05/0.2827, allocations: 40 kB / 427.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.2828, allocations: 75.7 kB / 427.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.283, allocations: 167.2 kB / 427.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.2834, allocations: 430.7 kB / 428.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2835, allocations: 0 / 428.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2835, allocations: 0 / 428.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.2835, allocations: 0 / 428.1 MB, free: 9.176 MB / 334.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.001323/0.2848, allocations: 0.5859 MB / 428.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.2848, allocations: 12.03 kB / 428.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.528e-05/0.2849, allocations: 62.72 kB / 428.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.852e-05/0.285, allocations: 36.7 kB / 428.8 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.2854, allocations: 234.9 kB / 429 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.2855, allocations: 16.88 kB / 429 MB, free: 8.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.2855, allocations: 24.38 kB / 429 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007467/0.2863, allocations: 318.8 kB / 429.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2863, allocations: 0 / 429.3 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.2863, allocations: 12 kB / 429.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.2863, allocations: 4 kB / 429.4 MB, free: 7.801 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000792/0.2871, allocations: 273.8 kB / 429.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001942/0.2891, allocations: 1.073 MB / 430.7 MB, free: 6.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008691/0.2899, allocations: 238.6 kB / 430.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.2902, allocations: 92.8 kB / 431 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.2903, allocations: 3.938 kB / 431 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004683/0.2907, allocations: 176.9 kB / 431.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.2907, allocations: 0 / 431.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00103/0.2918, allocations: 309.3 kB / 431.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.2918, allocations: 85.09 kB / 431.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.2921, allocations: 265.8 kB / 431.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.2922, allocations: 33.7 kB / 431.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.2923, allocations: 204 kB / 432.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.2924, allocations: 43.62 kB / 432.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.2925, allocations: 49.66 kB / 432.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.2926, allocations: 338.8 kB / 432.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.293, allocations: 104.2 kB / 432.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.2934, allocations: 188.7 kB / 432.8 MB, free: 4.168 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006879/0.2941, allocations: 303.7 kB / 433.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.2941, allocations: 0 / 433.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000874/0.295, allocations: 362.8 kB / 433.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.295, allocations: 37.69 kB / 433.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.295, allocations: 4 kB / 433.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.295, allocations: 4 kB / 433.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.2953, allocations: 68.17 kB / 433.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.2953, allocations: 4 kB / 433.5 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.2957, allocations: 55.72 kB / 433.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.2957, allocations: 12 kB / 433.6 MB, free: 3.273 MB / 334.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.0001657/0.2958, allocations: 149.5 kB / 433.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.2959, allocations: 23.86 kB / 433.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.296, allocations: 29.7 kB / 433.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.296, allocations: 3.984 kB / 433.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.296, allocations: 0 / 433.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.296, allocations: 3.938 kB / 433.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.2963, allocations: 284.5 kB / 434.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2963, allocations: 4 kB / 434.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.2965, allocations: 39.95 kB / 434.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2965, allocations: 0 / 434.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.2966, allocations: 15.92 kB / 434.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2966, allocations: 0 / 434.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2966, allocations: 3.938 kB / 434.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.2976, allocations: 365.1 kB / 434.5 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.2977, allocations: 31.81 kB / 434.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.2977, allocations: 4 kB / 434.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.298, allocations: 32.02 kB / 434.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.2981, allocations: 19.92 kB / 434.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.2981, allocations: 11.98 kB / 434.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.2983, allocations: 185.2 kB / 434.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2983, allocations: 0 / 434.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003194/0.2986, allocations: 59.89 kB / 434.9 MB, free: 1.961 MB / 334.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.001506/0.3001, allocations: 0.905 MB / 435.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008254/0.3009, allocations: 287.2 kB / 436 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3009, allocations: 3.938 kB / 436 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.3013, allocations: 99.86 kB / 436.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3016, allocations: 55.53 kB / 436.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/0.3065, allocations: 2.896 MB / 439.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.3069, allocations: 0.748 MB / 439.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.307, allocations: 26.28 kB / 439.9 MB, free: 12.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3072, allocations: 79.41 kB / 439.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3072, allocations: 4 kB / 439.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04902/0.3562, allocations: 5.77 MB / 445.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.44, allocations: 2.969 kB / 445.7 MB, free: 7.039 MB / 350.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.789101982023567]