Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.001948/0.001948, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001697/0.001697, allocations: 206.3 kB / 23.72 MB, free: 4.391 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.527/1.527, allocations: 230.5 MB / 257.4 MB, free: 7.746 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.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 59.91 kB / 377.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2664, allocations: 53.4 MB / 431.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004316/0.2707, allocations: 2.9 MB / 434.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.2721, allocations: 0.7442 MB / 434.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.2723, allocations: 4 kB / 434.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.2724, allocations: 55.44 kB / 434.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.2727, allocations: 127 kB / 435 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.2729, allocations: 111.8 kB / 435.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004867/0.2734, allocations: 450.3 kB / 435.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.2737, allocations: 101.1 kB / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.274, allocations: 187.2 kB / 435.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.2742, allocations: 167.2 kB / 436 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.521e-05/0.2743, allocations: 47.94 kB / 436 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.26e-05/0.2743, allocations: 44 kB / 436.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.214e-05/0.2744, allocations: 87.73 kB / 436.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.2746, allocations: 163.2 kB / 436.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005395/0.2751, allocations: 0.5175 MB / 436.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2751, allocations: 0 / 436.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2751, allocations: 0 / 436.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2751, allocations: 0 / 436.8 MB, free: 0.7617 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001245/0.2764, allocations: 0.6315 MB / 437.5 MB, free: 92 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2764, allocations: 15.98 kB / 437.5 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.845e-05/0.2765, allocations: 62.72 kB / 437.5 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.293e-05/0.2766, allocations: 40.75 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.2771, allocations: 260.9 kB / 437.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.2771, allocations: 21.03 kB / 437.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.764e-05/0.2771, allocations: 32.12 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006925/0.2778, allocations: 391.1 kB / 438.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2778, allocations: 0 / 438.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.2779, allocations: 12 kB / 438.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.2779, allocations: 8 kB / 438.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006925/0.2786, allocations: 278.5 kB / 438.6 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.2807, allocations: 1.05 MB / 439.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.2813, allocations: 226.4 kB / 439.8 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.2816, allocations: 123.5 kB / 440 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.2817, allocations: 4 kB / 440 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004753/0.2821, allocations: 276.1 kB / 440.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.2821, allocations: 0 / 440.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001461/0.2836, allocations: 426 kB / 440.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.2837, allocations: 136.5 kB / 440.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.284, allocations: 304.1 kB / 441.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.2841, allocations: 29.8 kB / 441.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.2842, allocations: 228.2 kB / 441.3 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/0.2843, allocations: 67.42 kB / 441.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.2844, allocations: 61.97 kB / 441.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.2845, allocations: 334.8 kB / 441.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003254/0.2849, allocations: 133.9 kB / 441.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.2853, allocations: 311.3 kB / 442.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.2859, allocations: 311.5 kB / 442.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2859, allocations: 4 kB / 442.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001005/0.2869, allocations: 464.4 kB / 443 MB, free: 10.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.287, allocations: 37.64 kB / 443 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.287, allocations: 4 kB / 443 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003195/0.2873, allocations: 60.8 kB / 443.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.2876, allocations: 67.92 kB / 443.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.2893, allocations: 1.48 MB / 444.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.2897, allocations: 59.8 kB / 444.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.2897, allocations: 16.23 kB / 444.7 MB, free: 8.336 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,firstOrder.opAmp.satNeg,firstOrder.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.2899, allocations: 157.1 kB / 444.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.961e-05/0.2899, allocations: 35.75 kB / 444.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.244e-05/0.29, allocations: 30.14 kB / 444.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.29, allocations: 0 / 444.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.29, allocations: 0 / 444.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.29, allocations: 4 kB / 444.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.2913, allocations: 0.685 MB / 445.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2913, allocations: 0 / 445.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.2916, allocations: 47.98 kB / 445.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002258/0.2918, allocations: 52.81 kB / 445.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.2918, allocations: 7.984 kB / 445.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001628/0.2935, allocations: 1.501 MB / 447.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2935, allocations: 0 / 447.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.2946, allocations: 0.5007 MB / 447.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.2946, allocations: 27.88 kB / 447.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.2947, allocations: 8 kB / 447.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.295, allocations: 31.97 kB / 447.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/0.2951, allocations: 28.02 kB / 447.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2951, allocations: 11.94 kB / 447.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.2953, allocations: 207.1 kB / 448 MB, free: 4.812 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2953, allocations: 3.938 kB / 448 MB, free: 4.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003958/0.2957, allocations: 95.78 kB / 448.1 MB, free: 4.715 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 5 ($whenCondition1,firstOrder.opAmp.satPos,firstOrder.opAmp.satNeg,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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.2971, allocations: 1.048 MB / 449.2 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009029/0.2981, allocations: 447.5 kB / 449.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2981, allocations: 3.938 kB / 449.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000442/0.2985, allocations: 242.5 kB / 449.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.2989, allocations: 49.58 kB / 449.9 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.3046, allocations: 3.458 MB / 453.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.3047, allocations: 169.1 kB / 453.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.3049, allocations: 30.97 kB / 453.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.305, allocations: 99.41 kB / 453.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.305, allocations: 0 / 453.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04022/0.3453, allocations: 8.409 MB / 462.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.82, allocations: 0 / 462.1 MB, free: 6.652 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_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_LowPass.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable firstOrder.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv. Warning: Get data of variable firstOrder.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv failed! Error: Could not read variable firstOrder.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv. Warning: Get data of variable firstOrder.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.393819801043719]