Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.001831/0.001831, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002295/0.002295, allocations: 213 kB / 23.73 MB, free: 4.164 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.418/1.418, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_InvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 377.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2289, allocations: 53.41 MB / 431.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.004248/0.2332, allocations: 2.761 MB / 433.9 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.2347, allocations: 0.7206 MB / 434.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.2349, allocations: 4 kB / 434.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.2351, allocations: 51.5 kB / 434.7 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.2354, allocations: 111.1 kB / 434.8 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.2357, allocations: 103.8 kB / 434.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005008/0.2362, allocations: 410.4 kB / 435.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.2364, allocations: 97.28 kB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.2366, allocations: 159.4 kB / 435.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.2369, allocations: 151.3 kB / 435.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.314e-05/0.2369, allocations: 43.94 kB / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.934e-05/0.237, allocations: 40 kB / 435.8 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.076e-05/0.2371, allocations: 79.75 kB / 435.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.2373, allocations: 151.3 kB / 436 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005993/0.2379, allocations: 462.2 kB / 436.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2379, allocations: 0 / 436.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2379, allocations: 0 / 436.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/0.2379, allocations: 0 / 436.5 MB, free: 1.129 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.001274/0.2392, allocations: 0.6053 MB / 437.1 MB, free: 500 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.2392, allocations: 11.98 kB / 437.1 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.19e-05/0.2393, allocations: 62.73 kB / 437.2 MB, free: 416 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.257e-05/0.2394, allocations: 36.75 kB / 437.2 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.2398, allocations: 257.8 kB / 437.4 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.2398, allocations: 17.03 kB / 437.5 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.2399, allocations: 28.38 kB / 437.5 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.2405, allocations: 371.3 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2405, allocations: 0 / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.2406, allocations: 8 kB / 437.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2406, allocations: 8 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006591/0.2412, allocations: 262.5 kB / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.243, allocations: 0.9786 MB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.2437, allocations: 214.6 kB / 439.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.2439, allocations: 84.8 kB / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.244, allocations: 4 kB / 439.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004731/0.2444, allocations: 259.1 kB / 439.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.2444, allocations: 0 / 439.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001603/0.246, allocations: 446.2 kB / 440.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/0.2461, allocations: 136.5 kB / 440.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.2464, allocations: 285.8 kB / 440.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.2465, allocations: 29.7 kB / 440.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.2466, allocations: 196.1 kB / 440.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.2467, allocations: 59.52 kB / 440.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.2468, allocations: 49.7 kB / 440.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2469, allocations: 342.8 kB / 441.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.2472, allocations: 117.6 kB / 441.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.2476, allocations: 303.5 kB / 441.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/0.2482, allocations: 289.6 kB / 441.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2482, allocations: 3.938 kB / 441.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009767/0.2492, allocations: 437.5 kB / 442.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.2492, allocations: 33.7 kB / 442.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.2492, allocations: 7.938 kB / 442.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003336/0.2496, allocations: 76.78 kB / 442.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.2498, allocations: 43.91 kB / 442.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.2518, allocations: 1.7 MB / 444.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.2521, allocations: 55.73 kB / 444.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.2522, allocations: 12 kB / 444.2 MB, free: 8.836 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 (gain.opAmp.satNeg,gain.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 (24): * Single equations (assignments): 22 * 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.0001621/0.2523, allocations: 153.1 kB / 444.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.2524, allocations: 27.86 kB / 444.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.2524, allocations: 26.11 kB / 444.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.2524, allocations: 8.062 kB / 444.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.2524, allocations: 0 / 444.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2524, allocations: 0 / 444.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.2527, allocations: 276.4 kB / 444.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2527, allocations: 0 / 444.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.2529, allocations: 27.91 kB / 444.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.2531, allocations: 68.8 kB / 444.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2531, allocations: 8 kB / 444.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.255, allocations: 1.688 MB / 446.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.255, allocations: 0 / 446.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000794/0.2558, allocations: 313.5 kB / 446.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.2559, allocations: 31.8 kB / 446.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.2559, allocations: 8 kB / 446.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.2561, allocations: 31.95 kB / 446.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.2562, allocations: 27.91 kB / 446.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.2562, allocations: 7.938 kB / 446.9 MB, free: 5.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.2564, allocations: 201.2 kB / 447.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2564, allocations: 0 / 447.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.2568, allocations: 83.89 kB / 447.2 MB, free: 5.68 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,gain.opAmp.satPos,gain.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.001102/0.2579, allocations: 0.8502 MB / 448 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008741/0.2587, allocations: 446.2 kB / 448.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2587, allocations: 0 / 448.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.2592, allocations: 239.1 kB / 448.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.2595, allocations: 59.67 kB / 448.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005461/0.265, allocations: 3.201 MB / 451.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000145/0.2651, allocations: 155.8 kB / 452.1 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.2652, allocations: 30.27 kB / 452.1 MB, free: 460 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.2654, allocations: 83.41 kB / 452.2 MB, free: 376 kB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2654, allocations: 0 / 452.2 MB, free: 376 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04264/0.308, allocations: 7.928 MB / 460.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.87, allocations: 0 / 460.1 MB, free: 8.602 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_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_InvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable gain.opAmp.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv. Warning: Get data of variable gain.opAmp.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv failed! Error: Could not read variable gain.opAmp.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv. Warning: Get data of variable gain.opAmp.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.331526889000088]