Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.001275/0.001275, allocations: 110 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.001449/0.001449, allocations: 213.6 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.536/1.536, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.SignalGenerator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.83 kB / 377.8 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2435, allocations: 53.4 MB / 431.2 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004276/0.2478, allocations: 3.03 MB / 434.3 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.2491, allocations: 0.7439 MB / 435 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.2493, allocations: 11.94 kB / 435 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.2495, allocations: 59.42 kB / 435.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.2497, allocations: 115 kB / 435.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.25, allocations: 87.89 kB / 435.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.2504, allocations: 418.1 kB / 435.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002263/0.2507, allocations: 103.8 kB / 435.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.2508, allocations: 143.5 kB / 435.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.2511, allocations: 179.2 kB / 436.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.2511, allocations: 32 kB / 436.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.2512, allocations: 36 kB / 436.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.351e-05/0.2513, allocations: 83.61 kB / 436.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.2514, allocations: 183.1 kB / 436.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.2519, allocations: 386.7 kB / 436.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2519, allocations: 8 kB / 436.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2519, allocations: 0 / 436.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.2519, allocations: 0 / 436.8 MB, free: 1.078 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0009607/0.2528, allocations: 0.5636 MB / 437.4 MB, free: 496 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.2529, allocations: 12.03 kB / 437.4 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.818e-05/0.253, allocations: 70.72 kB / 437.4 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/0.253, allocations: 40.7 kB / 437.5 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.2535, allocations: 238.5 kB / 437.7 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.2535, allocations: 21.03 kB / 437.7 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.288e-05/0.2536, allocations: 32.38 kB / 437.8 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.2541, allocations: 302.1 kB / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2541, allocations: 0 / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.2541, allocations: 16 kB / 438.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.2541, allocations: 8 kB / 438.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/0.2545, allocations: 242.5 kB / 438.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001911/0.2564, allocations: 1.089 MB / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.2569, allocations: 230.8 kB / 439.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.2573, allocations: 156.8 kB / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.2573, allocations: 0 / 439.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.2574, allocations: 42.56 kB / 439.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.082e-06/0.2574, allocations: 0 / 439.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001125/0.2585, allocations: 399.9 kB / 440.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.2585, allocations: 63.41 kB / 440.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.2588, allocations: 273.8 kB / 440.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.2589, allocations: 29.7 kB / 440.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.259, allocations: 208.3 kB / 440.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/0.2591, allocations: 91.2 kB / 440.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.494e-05/0.2592, allocations: 73.64 kB / 440.9 MB, free: 12.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2593, allocations: 338.8 kB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.2595, allocations: 75.97 kB / 441.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.2597, allocations: 171.1 kB / 441.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.26, allocations: 266.9 kB / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.26, allocations: 0 / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006916/0.2607, allocations: 375 kB / 442.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2608, allocations: 8 kB / 442.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2608, allocations: 0 / 442.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/0.2611, allocations: 85.7 kB / 442.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.2614, allocations: 67.91 kB / 442.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002768/0.2642, allocations: 2.78 MB / 445.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.2644, allocations: 39.67 kB / 445.1 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.2644, allocations: 19.98 kB / 445.1 MB, free: 8.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (opAmp2.satNeg,opAmp2.satPos,opAmp1.satNeg,opAmp1.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.2646, allocations: 157.3 kB / 445.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.2647, allocations: 27.8 kB / 445.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.906e-05/0.2647, allocations: 34.27 kB / 445.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2647, allocations: 4 kB / 445.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2647, allocations: 0 / 445.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2647, allocations: 0 / 445.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.266, allocations: 0.7533 MB / 446.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.266, allocations: 0 / 446.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/0.2661, allocations: 44.05 kB / 446.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002848/0.2664, allocations: 85.61 kB / 446.2 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.2665, allocations: 8 kB / 446.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.2691, allocations: 2.773 MB / 449 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2691, allocations: 4.094 kB / 449 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007335/0.2698, allocations: 464.1 kB / 449.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.2699, allocations: 35.77 kB / 449.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.2699, allocations: 4 kB / 449.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.2702, allocations: 28.05 kB / 449.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.752e-05/0.2702, allocations: 27.89 kB / 449.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.2702, allocations: 4 kB / 449.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.2704, allocations: 193.2 kB / 449.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2704, allocations: 0 / 449.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004343/0.2709, allocations: 95.89 kB / 449.9 MB, free: 3.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp1.v_int,c.v) * Number of discrete variables: 4 (opAmp1.satPos,opAmp1.satNeg,opAmp2.satPos,opAmp2.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.272, allocations: 1 MB / 450.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000687/0.2727, allocations: 441 kB / 451.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2727, allocations: 0 / 451.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.2731, allocations: 330 kB / 451.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.2735, allocations: 69.11 kB / 451.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.2778, allocations: 3.117 MB / 454.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.2782, allocations: 0.7717 MB / 455.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.2783, allocations: 30.97 kB / 455.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.2784, allocations: 103.4 kB / 455.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of SimCode: time 8.61e-07/0.2784, allocations: 4 kB / 455.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04114/0.3196, allocations: 7.161 MB / 462.9 MB, free: 5.949 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.16, allocations: 7.469 kB / 462.9 MB, free: 5.945 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_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_SignalGenerator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable opAmp1.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv. Warning: Get data of variable opAmp1.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv failed! Error: Could not read variable opAmp1.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv. Warning: Get data of variable opAmp1.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv failed! Error: Could not read variable opAmp2.out.v in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv. Warning: Get data of variable opAmp2.out.v from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv failed! Error: Could not read variable opAmp2.out.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv. Warning: Get data of variable opAmp2.out.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.817682390003029]