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.001759/0.001759, 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.002112/0.002112, allocations: 204.5 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.451/1.451, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.001973/0.001973, allocations: 63.88 kB / 377.8 MB, free: 2.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2383, allocations: 53.41 MB / 431.2 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator): time 0.004104/0.2424, allocations: 2.774 MB / 434 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.2438, allocations: 0.6973 MB / 434.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.244, allocations: 11.94 kB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.2442, allocations: 63.42 kB / 434.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002371/0.2445, allocations: 115 kB / 434.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.2447, allocations: 87.88 kB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004568/0.2452, allocations: 406.2 kB / 435.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.2454, allocations: 93.47 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.2455, allocations: 159.4 kB / 435.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.2458, allocations: 159.2 kB / 435.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.2458, allocations: 32 kB / 435.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.28e-05/0.2459, allocations: 36 kB / 435.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.55e-05/0.246, allocations: 71.7 kB / 435.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.2461, allocations: 155.2 kB / 436 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004327/0.2465, allocations: 394.3 kB / 436.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.2465, allocations: 0 / 436.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2465, allocations: 0 / 436.4 MB, free: 1.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2466, allocations: 0 / 436.4 MB, free: 1.195 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.0009534/0.2475, allocations: 0.5714 MB / 437 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2476, allocations: 11.98 kB / 437 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.27e-05/0.2476, allocations: 74.66 kB / 437.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.863e-05/0.2477, allocations: 40.7 kB / 437.1 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.2482, allocations: 242.5 kB / 437.3 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.2482, allocations: 21.03 kB / 437.3 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.2483, allocations: 40.31 kB / 437.4 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.2488, allocations: 426.6 kB / 437.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2489, allocations: 0 / 437.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.2489, allocations: 16 kB / 437.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2489, allocations: 8 kB / 437.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003937/0.2493, allocations: 234.5 kB / 438.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.2512, allocations: 1.015 MB / 439.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.2517, allocations: 231.6 kB / 439.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.2521, allocations: 155.8 kB / 439.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.2521, allocations: 4 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.2521, allocations: 38.56 kB / 439.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.2521, allocations: 0 / 439.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001156/0.2533, allocations: 403.2 kB / 439.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.2533, allocations: 55.41 kB / 439.9 MB, free: 13.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003291/0.2537, allocations: 281.7 kB / 440.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.2537, allocations: 33.7 kB / 440.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.2538, allocations: 208.3 kB / 440.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/0.2539, allocations: 87.27 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.254, allocations: 73.59 kB / 440.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2542, allocations: 346.7 kB / 440.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.2543, allocations: 71.97 kB / 441 MB, free: 12.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.2545, allocations: 167.1 kB / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.2549, allocations: 258.9 kB / 441.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2549, allocations: 0 / 441.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007064/0.2556, allocations: 382.8 kB / 441.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2556, allocations: 4 kB / 441.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.2556, allocations: 4 kB / 441.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.256, allocations: 89.86 kB / 441.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.2562, allocations: 67.91 kB / 442 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/0.2589, allocations: 2.776 MB / 444.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.2592, allocations: 35.77 kB / 444.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.2592, allocations: 16 kB / 444.8 MB, free: 8.215 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.0001713/0.2594, allocations: 153.1 kB / 444.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.2594, allocations: 39.88 kB / 445 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.464e-05/0.2595, allocations: 30.27 kB / 445 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2595, allocations: 4 kB / 445 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2595, allocations: 0 / 445 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2595, allocations: 0 / 445 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.2607, allocations: 0.6679 MB / 445.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2607, allocations: 4.031 kB / 445.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.2609, allocations: 43.91 kB / 445.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/0.2612, allocations: 81.58 kB / 445.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.2612, allocations: 4 kB / 445.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/0.2637, allocations: 2.768 MB / 448.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2637, allocations: 8.156 kB / 448.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.2645, allocations: 464 kB / 449 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.2645, allocations: 27.78 kB / 449.1 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.2646, allocations: 8 kB / 449.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.2648, allocations: 23.97 kB / 449.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.2649, allocations: 23.97 kB / 449.1 MB, free: 3.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.2649, allocations: 15.98 kB / 449.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.2651, allocations: 189.2 kB / 449.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2651, allocations: 0 / 449.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004416/0.2655, allocations: 91.89 kB / 449.4 MB, free: 3.25 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.001049/0.2666, allocations: 1.004 MB / 450.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006363/0.2672, allocations: 433 kB / 450.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2672, allocations: 4 kB / 450.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.2676, allocations: 325.2 kB / 451.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.268, allocations: 60.31 kB / 451.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004293/0.2723, allocations: 3.104 MB / 454.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.2725, allocations: 169.2 kB / 454.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.2726, allocations: 34.95 kB / 454.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.2728, allocations: 99.41 kB / 454.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2728, allocations: 4 kB / 454.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04157/0.3143, allocations: 7.656 MB / 462.3 MB, free: 6.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.24, allocations: 7.719 kB / 462.3 MB, free: 6.258 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 & /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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.743463771883398]