Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 115.8 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 214.7 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 47.92 kB / 377.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2787, allocations: 53.37 MB / 431.2 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004956/0.2837, allocations: 2.909 MB / 434.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.2852, allocations: 0.7557 MB / 434.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.2853, allocations: 4 kB / 434.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.2855, allocations: 51.5 kB / 434.9 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.2857, allocations: 103.2 kB / 435 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.286, allocations: 111.8 kB / 435.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004652/0.2865, allocations: 394.5 kB / 435.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.2867, allocations: 83.67 kB / 435.6 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.287, allocations: 167.4 kB / 435.7 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.2872, allocations: 167.2 kB / 435.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-05/0.2873, allocations: 40 kB / 435.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.919e-05/0.2874, allocations: 36 kB / 436 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.2874, allocations: 79.7 kB / 436 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.2877, allocations: 167.2 kB / 436.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.2883, allocations: 430.7 kB / 436.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2883, allocations: 0 / 436.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2883, allocations: 0 / 436.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.2883, allocations: 0 / 436.6 MB, free: 1.355 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.001415/0.2897, allocations: 0.5936 MB / 437.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2897, allocations: 12.03 kB / 437.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.043e-05/0.2898, allocations: 58.72 kB / 437.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.304e-05/0.2899, allocations: 36.75 kB / 437.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.2903, allocations: 238.9 kB / 437.6 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.2903, allocations: 12.88 kB / 437.6 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.2904, allocations: 32.31 kB / 437.6 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/0.2911, allocations: 318.8 kB / 437.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2911, allocations: 0 / 437.9 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.2912, allocations: 8 kB / 437.9 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.2912, allocations: 8 kB / 437.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008513/0.292, allocations: 269.8 kB / 438.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.294, allocations: 1.077 MB / 439.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009036/0.2949, allocations: 242.5 kB / 439.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003191/0.2952, allocations: 96.78 kB / 439.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.2953, allocations: 4 kB / 439.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004711/0.2957, allocations: 165 kB / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.2957, allocations: 3.938 kB / 439.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001135/0.2969, allocations: 313.3 kB / 440.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.2969, allocations: 85.11 kB / 440.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.2972, allocations: 265.8 kB / 440.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.2973, allocations: 29.7 kB / 440.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.2974, allocations: 196 kB / 440.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.2975, allocations: 43.64 kB / 440.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-05/0.2976, allocations: 45.7 kB / 440.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2978, allocations: 334.8 kB / 441.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.2981, allocations: 100.2 kB / 441.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/0.2986, allocations: 207.4 kB / 441.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000747/0.2994, allocations: 294.8 kB / 441.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.2994, allocations: 4 kB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009329/0.3003, allocations: 362.8 kB / 442 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.3004, allocations: 33.7 kB / 442 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3004, allocations: 0 / 442 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3004, allocations: 8.281 kB / 442 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.3007, allocations: 79.88 kB / 442.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.3007, allocations: 7.938 kB / 442.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.301, allocations: 55.69 kB / 442.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.3011, allocations: 15.92 kB / 442.2 MB, free: 11.43 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.000163/0.3012, allocations: 149.8 kB / 442.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.3013, allocations: 23.86 kB / 442.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.921e-05/0.3013, allocations: 21.7 kB / 442.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3013, allocations: 4 kB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3013, allocations: 0 / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.3013, allocations: 3.938 kB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.3017, allocations: 280.5 kB / 442.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3017, allocations: 0 / 442.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.3019, allocations: 47.95 kB / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3019, allocations: 0 / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.3019, allocations: 7.984 kB / 442.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3019, allocations: 0 / 442.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3019, allocations: 0 / 442.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.303, allocations: 381 kB / 443.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.3031, allocations: 23.83 kB / 443.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.125e-05/0.3031, allocations: 4 kB / 443.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.3033, allocations: 36.02 kB / 443.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.3034, allocations: 15.92 kB / 443.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3034, allocations: 7.984 kB / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002173/0.3036, allocations: 185.2 kB / 443.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3036, allocations: 0 / 443.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.3039, allocations: 67.84 kB / 443.4 MB, free: 10.12 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: 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.001521/0.3055, allocations: 0.905 MB / 444.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007949/0.3063, allocations: 294.4 kB / 444.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3063, allocations: 0 / 444.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.3067, allocations: 96.42 kB / 444.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.307, allocations: 56.34 kB / 444.8 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005147/0.3121, allocations: 2.891 MB / 447.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.3126, allocations: 0.748 MB / 448.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.3127, allocations: 30.28 kB / 448.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.3129, allocations: 79.41 kB / 448.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3129, allocations: 0 / 448.5 MB, free: 4.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/0.3502, allocations: 5.782 MB / 454.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.29, allocations: 10.52 kB / 454.3 MB, free: 15.21 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.718570695957169]