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.0008751/0.0008751, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008333/0.0008333, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8995/0.8995, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 1.473e-06/1.473e-06, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.953e-05, allocations: 2.984 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.003014/0.003033, allocations: 2.77 MB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.004125, allocations: 0.7166 MB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.004278, allocations: 11.94 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.004411, allocations: 59.36 kB / 328.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.004584, allocations: 123 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.004768, allocations: 91.81 kB / 328.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.00507, allocations: 433.7 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.005257, allocations: 91.77 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.005443, allocations: 223.5 kB / 329.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.005595, allocations: 131.5 kB / 329.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.486e-05/0.00564, allocations: 36 kB / 329.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.378e-05/0.005674, allocations: 32 kB / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.056e-05/0.005724, allocations: 83.67 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.502e-05/0.005809, allocations: 123.7 kB / 329.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.006144, allocations: 398.6 kB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.006146, allocations: 0 / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006147, allocations: 4 kB / 329.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.006153, allocations: 0 / 329.9 MB, free: 10.54 MB / 298.7 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.0007014/0.006854, allocations: 0.552 MB / 330.4 MB, free: 9.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.0069, allocations: 15.98 kB / 330.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.305e-05/0.006963, allocations: 70.72 kB / 330.5 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.456e-05/0.007027, allocations: 44.69 kB / 330.5 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.007412, allocations: 241.3 kB / 330.8 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.007434, allocations: 28.97 kB / 330.8 MB, free: 9.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.007472, allocations: 32.38 kB / 330.8 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006515/0.008123, allocations: 427.1 kB / 331.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.008134, allocations: 192 / 331.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.008158, allocations: 12.12 kB / 331.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.008165, allocations: 8 kB / 331.3 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.008436, allocations: 242.5 kB / 331.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.009712, allocations: 1.008 MB / 332.5 MB, free: 7.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.01011, allocations: 227.5 kB / 332.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.01035, allocations: 152.8 kB / 332.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.01038, allocations: 4 kB / 332.9 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.01041, allocations: 34.56 kB / 332.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.01041, allocations: 4 kB / 332.9 MB, free: 7.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007303/0.01115, allocations: 403.3 kB / 333.3 MB, free: 6.871 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.01118, allocations: 59.39 kB / 333.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.01138, allocations: 273.7 kB / 333.6 MB, free: 6.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.0114, allocations: 29.7 kB / 333.7 MB, free: 6.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.0115, allocations: 212.2 kB / 333.9 MB, free: 6.273 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.953e-05/0.01155, allocations: 95.2 kB / 334 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.01161, allocations: 65.66 kB / 334 MB, free: 6.109 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.01172, allocations: 342.7 kB / 334.4 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-05/0.01181, allocations: 79.97 kB / 334.5 MB, free: 5.688 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.01194, allocations: 163.1 kB / 334.6 MB, free: 5.488 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.01216, allocations: 266.9 kB / 334.9 MB, free: 5.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.01217, allocations: 4 kB / 334.9 MB, free: 5.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004172/0.01259, allocations: 379.1 kB / 335.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.0126, allocations: 8.031 kB / 335.3 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.01261, allocations: 11.92 kB / 335.3 MB, free: 4.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.01284, allocations: 85.62 kB / 335.4 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.01298, allocations: 63.91 kB / 335.4 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.01489, allocations: 2.772 MB / 338.2 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.01501, allocations: 35.91 kB / 338.2 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.01502, allocations: 16 kB / 338.2 MB, free: 1.57 MB / 298.7 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.0001129/0.01513, allocations: 150.6 kB / 338.4 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.01516, allocations: 27.81 kB / 338.4 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.01519, allocations: 38.2 kB / 338.4 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.0152, allocations: 4 kB / 338.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.0152, allocations: 0 / 338.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01521, allocations: 0 / 338.5 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.01587, allocations: 0.6719 MB / 339.1 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01588, allocations: 4 kB / 339.1 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.01599, allocations: 35.98 kB / 339.2 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001634/0.01615, allocations: 85.61 kB / 339.2 MB, free: 496 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01616, allocations: 8 kB / 339.3 MB, free: 488 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.01758, allocations: 2.765 MB / 342 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01758, allocations: 0 / 342 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004065/0.01798, allocations: 455.1 kB / 342.5 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.01801, allocations: 39.95 kB / 342.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.01803, allocations: 8.188 kB / 342.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01813, allocations: 19.98 kB / 342.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.01819, allocations: 31.88 kB / 342.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.0182, allocations: 12 kB / 342.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.01832, allocations: 193.1 kB / 342.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01832, allocations: 0 / 342.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002689/0.01859, allocations: 99.83 kB / 342.9 MB, free: 12.61 MB / 314.7 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.000603/0.01919, allocations: 0.9967 MB / 343.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.0196, allocations: 441.8 kB / 344.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.0196, allocations: 192 / 344.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.0198, allocations: 325.3 kB / 344.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.02008, allocations: 52.48 kB / 344.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.02287, allocations: 3.067 MB / 347.7 MB, free: 7.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001151/0.02298, allocations: 173.1 kB / 347.9 MB, free: 7.289 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.06e-05/0.02306, allocations: 34.95 kB / 347.9 MB, free: 7.254 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.641e-05/0.02316, allocations: 100.5 kB / 348 MB, free: 7.156 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02316, allocations: 0 / 348 MB, free: 7.156 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02162/0.04478, allocations: 7.811 MB / 355.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/7.963, allocations: 3.281 kB / 355.8 MB, free: 15.5 MB / 330.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/SignalGenerator/SignalGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.668854591436684]