Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001295/0.001295, 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.00142/0.00142, allocations: 207.5 kB / 23.73 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.419/1.419, allocations: 230.5 MB / 257.4 MB, free: 7.754 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.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 377.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2621, allocations: 53.41 MB / 431.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004314/0.2664, allocations: 2.772 MB / 433.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2679, allocations: 0.7129 MB / 434.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.268, allocations: 4 kB / 434.7 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.2682, allocations: 47.52 kB / 434.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002158/0.2684, allocations: 111.1 kB / 434.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.2687, allocations: 103.8 kB / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004399/0.2692, allocations: 418.4 kB / 435.3 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.2694, allocations: 81.36 kB / 435.4 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001917/0.2696, allocations: 163.4 kB / 435.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.2698, allocations: 151.3 kB / 435.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.367e-05/0.2698, allocations: 43.94 kB / 435.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.763e-05/0.2699, allocations: 40 kB / 435.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.27, allocations: 79.75 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.2701, allocations: 147.3 kB / 436 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.2706, allocations: 466.2 kB / 436.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2706, allocations: 0 / 436.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2706, allocations: 0 / 436.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.2707, allocations: 4 kB / 436.5 MB, free: 1.094 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.00115/0.2718, allocations: 0.6052 MB / 437.1 MB, free: 464 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2718, allocations: 15.98 kB / 437.1 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.13e-05/0.2719, allocations: 62.72 kB / 437.2 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.944e-05/0.272, allocations: 40.75 kB / 437.2 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.2724, allocations: 249.8 kB / 437.4 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.2724, allocations: 17.03 kB / 437.5 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.2724, allocations: 32.36 kB / 437.5 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000678/0.2731, allocations: 367.2 kB / 437.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.2732, allocations: 0 / 437.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.2732, allocations: 8 kB / 437.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2732, allocations: 12 kB / 437.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.2738, allocations: 262.5 kB / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.2755, allocations: 0.9709 MB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/0.2762, allocations: 210.6 kB / 439.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.2764, allocations: 84.8 kB / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.2765, allocations: 4 kB / 439.4 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004417/0.2769, allocations: 251.8 kB / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.2769, allocations: 0 / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00159/0.2785, allocations: 457.1 kB / 440.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.2786, allocations: 136.5 kB / 440.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.2789, allocations: 297.7 kB / 440.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.2789, allocations: 29.7 kB / 440.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.2791, allocations: 204 kB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.2791, allocations: 55.58 kB / 440.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/0.2792, allocations: 49.7 kB / 440.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2793, allocations: 338.8 kB / 441.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.2796, allocations: 125.6 kB / 441.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.28, allocations: 304.4 kB / 441.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.2806, allocations: 302.4 kB / 441.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2806, allocations: 0 / 441.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009791/0.2816, allocations: 445.5 kB / 442.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.2816, allocations: 33.69 kB / 442.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2817, allocations: 7.938 kB / 442.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/0.282, allocations: 84.89 kB / 442.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.2822, allocations: 43.95 kB / 442.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.2845, allocations: 1.861 MB / 444.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.2848, allocations: 55.73 kB / 444.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.2848, allocations: 16.06 kB / 444.4 MB, free: 8.594 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: 7 (buffer.opAmp.satNeg,buffer.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 (25): * Single equations (assignments): 23 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.285, allocations: 153.2 kB / 444.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.285, allocations: 23.86 kB / 444.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.2851, allocations: 30.11 kB / 444.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2851, allocations: 0 / 444.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2851, allocations: 3.938 kB / 444.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2851, allocations: 3.938 kB / 444.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002871/0.2854, allocations: 276.5 kB / 444.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2854, allocations: 0 / 444.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.2855, allocations: 31.91 kB / 444.9 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/0.2858, allocations: 72.8 kB / 445 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2858, allocations: 0 / 445 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.2879, allocations: 1.857 MB / 446.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2879, allocations: 4.031 kB / 446.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/0.2887, allocations: 309.5 kB / 447.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.2887, allocations: 35.73 kB / 447.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.2888, allocations: 4 kB / 447.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.289, allocations: 35.97 kB / 447.2 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.2891, allocations: 27.89 kB / 447.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2891, allocations: 4 kB / 447.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.2893, allocations: 201.2 kB / 447.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2893, allocations: 0 / 447.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004107/0.2897, allocations: 83.89 kB / 447.5 MB, free: 5.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.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 (11): * Single equations (assignments): 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.2908, allocations: 0.8462 MB / 448.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000897/0.2917, allocations: 450.2 kB / 448.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2917, allocations: 0 / 448.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.2922, allocations: 238.5 kB / 449.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.2925, allocations: 61.16 kB / 449.1 MB, free: 3.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/0.2983, allocations: 3.23 MB / 452.4 MB, free: 208 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.2984, allocations: 155.7 kB / 452.5 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.2986, allocations: 35 kB / 452.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.2987, allocations: 87.41 kB / 452.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2987, allocations: 0 / 452.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03978/0.3385, allocations: 7.926 MB / 460.6 MB, free: 8.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.8, allocations: 0 / 460.6 MB, free: 8.148 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_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_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable buffer.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! Error: Could not read variable buffer.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv. Warning: Get data of variable buffer.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.263365638907999]