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.001287/0.001287, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.00143/0.00143, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.414/1.414, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.001842/0.001842, allocations: 59.91 kB / 377.8 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2696, allocations: 53.42 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004164/0.2738, allocations: 2.919 MB / 434.1 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.275, allocations: 0.7323 MB / 434.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.2752, allocations: 11.94 kB / 434.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.2753, allocations: 43.52 kB / 434.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.2755, allocations: 107.2 kB / 435 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.2758, allocations: 95.89 kB / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.2762, allocations: 390.4 kB / 435.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.2764, allocations: 91.66 kB / 435.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.2767, allocations: 155.4 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.277, allocations: 167.3 kB / 435.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.277, allocations: 44 kB / 435.9 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.446e-05/0.2771, allocations: 39.94 kB / 436 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.781e-05/0.2771, allocations: 79.75 kB / 436.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.2773, allocations: 171.1 kB / 436.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.2778, allocations: 434.7 kB / 436.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2778, allocations: 0 / 436.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2778, allocations: 0 / 436.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.2778, allocations: 0 / 436.7 MB, free: 1.219 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.001146/0.2789, allocations: 0.5896 MB / 437.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.279, allocations: 8.031 kB / 437.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.728e-05/0.2791, allocations: 62.72 kB / 437.3 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.2791, allocations: 32.75 kB / 437.3 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.2795, allocations: 241.7 kB / 437.6 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2796, allocations: 20.88 kB / 437.6 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.108e-05/0.2796, allocations: 28.38 kB / 437.6 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.2802, allocations: 276.2 kB / 437.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2802, allocations: 0 / 437.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.2802, allocations: 12 kB / 437.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2803, allocations: 8 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006582/0.2809, allocations: 253.8 kB / 438.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.2826, allocations: 1.013 MB / 439.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.2833, allocations: 202.6 kB / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.2835, allocations: 100.7 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.2836, allocations: 0 / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.284, allocations: 165.9 kB / 439.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.284, allocations: 4 kB / 439.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008531/0.2848, allocations: 285.2 kB / 439.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.77e-05/0.2849, allocations: 110.8 kB / 440 MB, free: 13.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.2852, allocations: 273.8 kB / 440.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.971e-05/0.2852, allocations: 33.64 kB / 440.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.2853, allocations: 196.1 kB / 440.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.2854, allocations: 47.58 kB / 440.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/0.2855, allocations: 53.89 kB / 440.6 MB, free: 13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2856, allocations: 334.8 kB / 440.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002676/0.2859, allocations: 88.17 kB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.2862, allocations: 184.3 kB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.2868, allocations: 277.7 kB / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2868, allocations: 0 / 441.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007292/0.2875, allocations: 334.9 kB / 441.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.2875, allocations: 37.7 kB / 441.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.2876, allocations: 4 kB / 441.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2876, allocations: 4 kB / 441.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/0.2878, allocations: 56.2 kB / 441.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.2878, allocations: 11.94 kB / 441.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002856/0.2881, allocations: 51.78 kB / 442 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.2882, allocations: 12 kB / 442 MB, free: 11.54 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.0001669/0.2883, allocations: 149.7 kB / 442.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/0.2884, allocations: 27.81 kB / 442.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.2884, allocations: 25.77 kB / 442.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2884, allocations: 8 kB / 442.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2884, allocations: 0 / 442.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2884, allocations: 3.938 kB / 442.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.2887, allocations: 292.5 kB / 442.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2887, allocations: 0 / 442.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.289, allocations: 35.97 kB / 442.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.289, allocations: 3.984 kB / 442.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.289, allocations: 4 kB / 442.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.289, allocations: 0 / 442.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.289, allocations: 4 kB / 442.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008462/0.2898, allocations: 347.9 kB / 442.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.2899, allocations: 27.81 kB / 442.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.959e-05/0.2899, allocations: 8.062 kB / 442.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.2901, allocations: 27.97 kB / 442.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.2902, allocations: 23.84 kB / 443 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.2902, allocations: 8 kB / 443 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.2904, allocations: 193.2 kB / 443.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2904, allocations: 0 / 443.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.2907, allocations: 67.84 kB / 443.2 MB, free: 10.23 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.001171/0.2919, allocations: 0.881 MB / 444.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006832/0.2926, allocations: 265.4 kB / 444.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2926, allocations: 0 / 444.4 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.2928, allocations: 100 kB / 444.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.2932, allocations: 55.7 kB / 444.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.2979, allocations: 2.9 MB / 447.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.2983, allocations: 0.7519 MB / 448.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.2984, allocations: 26.28 kB / 448.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.2985, allocations: 87.41 kB / 448.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2985, allocations: 0 / 448.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.3338, allocations: 6.12 MB / 454.4 MB, free: 15 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.17, allocations: 4 kB / 454.4 MB, free: 14.99 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable der_.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! Error: Could not read variable der_.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv. Warning: Get data of variable der_.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.621298459998798]