Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 214.1 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 230.5 MB / 257.4 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 59.91 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2729, allocations: 53.42 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004394/0.2773, allocations: 2.92 MB / 434.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001319/0.2787, allocations: 0.7285 MB / 434.9 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.2788, allocations: 11.94 kB / 434.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.279, allocations: 39.58 kB / 434.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.2792, allocations: 103.2 kB / 435 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.2795, allocations: 103.8 kB / 435.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.2799, allocations: 386.5 kB / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.2801, allocations: 91.66 kB / 435.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.2804, allocations: 159.4 kB / 435.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.2806, allocations: 167.3 kB / 435.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.645e-05/0.2807, allocations: 40 kB / 435.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.591e-05/0.2807, allocations: 40 kB / 436 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.461e-05/0.2808, allocations: 75.7 kB / 436.1 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.281, allocations: 175.1 kB / 436.2 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004879/0.2815, allocations: 438.7 kB / 436.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2815, allocations: 0 / 436.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2815, allocations: 0 / 436.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.2815, allocations: 0 / 436.7 MB, free: 1.203 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001212/0.2827, allocations: 0.5858 MB / 437.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2827, allocations: 8.031 kB / 437.3 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.428e-05/0.2828, allocations: 58.73 kB / 437.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.2829, allocations: 32.75 kB / 437.3 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.2834, allocations: 249.7 kB / 437.6 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.2834, allocations: 16.88 kB / 437.6 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.2835, allocations: 28.38 kB / 437.6 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00062/0.2841, allocations: 280.1 kB / 437.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2841, allocations: 4 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.2841, allocations: 8 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.2841, allocations: 8 kB / 437.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.2848, allocations: 253.8 kB / 438.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.2865, allocations: 1.009 MB / 439.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/0.2872, allocations: 210.6 kB / 439.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.2875, allocations: 88.8 kB / 439.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.2875, allocations: 7.938 kB / 439.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004258/0.2879, allocations: 173.8 kB / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.2879, allocations: 0 / 439.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008749/0.2888, allocations: 284.4 kB / 439.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.137e-05/0.2889, allocations: 110.8 kB / 440 MB, free: 13.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.2892, allocations: 269.7 kB / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.2892, allocations: 33.7 kB / 440.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.2894, allocations: 196.1 kB / 440.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.2894, allocations: 47.58 kB / 440.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.2895, allocations: 57.89 kB / 440.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.2897, allocations: 334.8 kB / 441 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.29, allocations: 88.17 kB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.2903, allocations: 188.2 kB / 441.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/0.2909, allocations: 273.7 kB / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2909, allocations: 0 / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007285/0.2916, allocations: 339.1 kB / 441.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.11e-05/0.2916, allocations: 40.2 kB / 441.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2916, allocations: 4 kB / 441.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2917, allocations: 4 kB / 441.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.2919, allocations: 55.89 kB / 441.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.2919, allocations: 7.984 kB / 441.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.2922, allocations: 55.81 kB / 442 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.2922, allocations: 12 kB / 442 MB, free: 11.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (der_.opAmp.satNeg,der_.opAmp.satPos,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 (28): * Single equations (assignments): 27 * 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.0001627/0.2924, allocations: 145.7 kB / 442.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.2924, allocations: 27.81 kB / 442.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.43e-05/0.2925, allocations: 25.77 kB / 442.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2925, allocations: 4 kB / 442.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2925, allocations: 0 / 442.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2925, allocations: 3.938 kB / 442.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.2928, allocations: 292.5 kB / 442.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2928, allocations: 4 kB / 442.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.293, allocations: 39.91 kB / 442.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.293, allocations: 0 / 442.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.293, allocations: 7.984 kB / 442.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.293, allocations: 0 / 442.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.293, allocations: 4 kB / 442.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008415/0.2939, allocations: 340.7 kB / 442.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.2939, allocations: 27.81 kB / 442.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.294, allocations: 7.984 kB / 442.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.2942, allocations: 32.03 kB / 442.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.35e-05/0.2943, allocations: 23.84 kB / 443 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.2943, allocations: 7.938 kB / 443 MB, free: 10.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001855/0.2945, allocations: 197.1 kB / 443.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2945, allocations: 0 / 443.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002876/0.2947, allocations: 67.84 kB / 443.2 MB, free: 10.21 MB / 350.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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,der_.opAmp.satPos,der_.opAmp.satNeg) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * 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.001168/0.2959, allocations: 0.8845 MB / 444.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000626/0.2965, allocations: 259.3 kB / 444.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2965, allocations: 0 / 444.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.2968, allocations: 91.88 kB / 444.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.2971, allocations: 56.34 kB / 444.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004672/0.3018, allocations: 2.897 MB / 447.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.3022, allocations: 0.7518 MB / 448.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.3023, allocations: 30.28 kB / 448.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.3024, allocations: 83.41 kB / 448.3 MB, free: 4.977 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3024, allocations: 4 kB / 448.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03572/0.3381, allocations: 6.117 MB / 454.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.04, allocations: 4 kB / 454.4 MB, free: 14.98 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.33468612190336]