Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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.0007938/0.0007938, 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.0008364/0.0008364, 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.8806/0.8806, allocations: 177 MB / 204.1 MB, free: 5.746 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.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.06e-05, allocations: 3.266 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit): time 0.005686/0.005707, allocations: 6.975 MB / 331.5 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003748/0.009455, allocations: 1.788 MB / 333.3 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009561/0.01041, allocations: 31.81 kB / 333.4 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004632/0.01087, allocations: 241.6 kB / 333.6 MB, free: 6.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009981/0.01187, allocations: 0.4958 MB / 334.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007302/0.0126, allocations: 423.4 kB / 334.5 MB, free: 5.855 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001534/0.01414, allocations: 1.859 MB / 336.4 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005771/0.01471, allocations: 408.5 kB / 336.8 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008663/0.01558, allocations: 0.9939 MB / 337.8 MB, free: 2.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005144/0.01609, allocations: 0.5334 MB / 338.3 MB, free: 2.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.01627, allocations: 180 kB / 338.5 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.01644, allocations: 184 kB / 338.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.01664, allocations: 366.6 kB / 339 MB, free: 1.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.01705, allocations: 0.5611 MB / 339.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.01841, allocations: 2.138 MB / 341.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.01841, allocations: 0 / 341.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.01842, allocations: 0 / 341.7 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.87e-05/0.01844, allocations: 0 / 341.7 MB, free: 14.61 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00193/0.02037, allocations: 1.67 MB / 343.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.02042, allocations: 15.98 kB / 343.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001731/0.0206, allocations: 198.4 kB / 343.6 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.02077, allocations: 171.8 kB / 343.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009198/0.02169, allocations: 0.7223 MB / 344.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/0.02176, allocations: 98.7 kB / 344.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.02188, allocations: 128 kB / 344.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.02348, allocations: 1.716 MB / 346.4 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.0235, allocations: 0 / 346.4 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.518e-05/0.02357, allocations: 56 kB / 346.5 MB, free: 9.629 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.02359, allocations: 36 kB / 346.5 MB, free: 9.594 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.02481, allocations: 1.009 MB / 347.5 MB, free: 8.578 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004637/0.02945, allocations: 3.991 MB / 351.5 MB, free: 4.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.0305, allocations: 0.8372 MB / 352.3 MB, free: 3.555 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.03103, allocations: 431.5 kB / 352.8 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.03108, allocations: 12.94 kB / 352.8 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.03111, allocations: 51.55 kB / 352.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=94): time 2.023e-06/0.03111, allocations: 0 / 352.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=94): time 0.002791/0.03391, allocations: 1.722 MB / 354.5 MB, free: 1.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.03395, allocations: 98.05 kB / 354.6 MB, free: 1.199 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006864/0.03463, allocations: 0.8213 MB / 355.5 MB, free: 376 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.03467, allocations: 45.7 kB / 355.5 MB, free: 324 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.03496, allocations: 0.598 MB / 356.1 MB, free: 15.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.03512, allocations: 333.1 kB / 356.4 MB, free: 15.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.03528, allocations: 178.9 kB / 356.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.03537, allocations: 341.9 kB / 356.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003512/0.03573, allocations: 306.5 kB / 357.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.03616, allocations: 0.4986 MB / 357.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007795/0.03694, allocations: 0.8165 MB / 358.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.03694, allocations: 4 kB / 358.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001525/0.03847, allocations: 1.318 MB / 359.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.03849, allocations: 8 kB / 359.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.0385, allocations: 4 kB / 359.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007354/0.03923, allocations: 400.9 kB / 360.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.03959, allocations: 187.7 kB / 360.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006354/0.04595, allocations: 10.14 MB / 370.6 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.0463, allocations: 119.2 kB / 370.7 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/0.04634, allocations: 40 kB / 370.8 MB, free: 132 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 10 (firstOrder2A.opAmp.satNeg,firstOrder2A.opAmp.satPos,addA.opAmp.satNeg,addA.opAmp.satPos,firstOrder1A.opAmp.satNeg,firstOrder1A.opAmp.satPos,PIA.opAmp.satNeg,PIA.opAmp.satPos,feedbackA.opAmp.satNeg,feedbackA.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 5 systems {(1,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003089/0.04665, allocations: 286.1 kB / 371 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.04675, allocations: 123.2 kB / 371.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.902e-05/0.04685, allocations: 114.1 kB / 371.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.04685, allocations: 12 kB / 371.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.04686, allocations: 0 / 371.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.04686, allocations: 3.984 kB / 371.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.04914, allocations: 2.064 MB / 373.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.04914, allocations: 0 / 373.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.04943, allocations: 123.9 kB / 373.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006787/0.0501, allocations: 384.8 kB / 373.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.05014, allocations: 20 kB / 373.9 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006194/0.05633, allocations: 10.16 MB / 384 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.05634, allocations: 3.938 kB / 384 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.05822, allocations: 1.624 MB / 385.7 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.05835, allocations: 123.1 kB / 385.8 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.05841, allocations: 23.94 kB / 385.8 MB, free: 236 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.05874, allocations: 87.92 kB / 385.9 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.05888, allocations: 88.84 kB / 386 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.05891, allocations: 31.98 kB / 386 MB, free: 24 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004644/0.05937, allocations: 0.5497 MB / 386.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05937, allocations: 0 / 386.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000892/0.06026, allocations: 391.2 kB / 386.9 MB, free: 15.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (PIA.c.v,firstOrder1A.c.v,firstOrder2A.c.v,PIB.x,firstOrder1B.y,firstOrder2B.y) * Number of discrete variables: 10 (feedbackA.opAmp.satPos,feedbackA.opAmp.satNeg,PIA.opAmp.satPos,PIA.opAmp.satNeg,firstOrder1A.opAmp.satPos,firstOrder1A.opAmp.satNeg,addA.opAmp.satPos,addA.opAmp.satNeg,firstOrder2A.opAmp.satPos,firstOrder2A.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 5 systems {(1,6), (1,6), (1,2), (1,8), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002264/0.06253, allocations: 2.219 MB / 389.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.06386, allocations: 1.513 MB / 390.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.06387, allocations: 7.75 kB / 390.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008192/0.06468, allocations: 1.162 MB / 391.8 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.06536, allocations: 207.9 kB / 392 MB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009532/0.07489, allocations: 9.075 MB / 401.1 MB, free: 404 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.07531, allocations: 0.5176 MB / 401.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003036/0.07562, allocations: 104 kB / 401.7 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000661/0.07628, allocations: 464.3 kB / 402.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.07628, allocations: 0 / 402.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04909/0.1254, allocations: 27.51 MB / 429.7 MB, free: 4.066 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.607/8.732, allocations: 3.859 kB / 429.7 MB, free: 4.062 MB / 394.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_ControlCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/ControlCircuit/ControlCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.ControlCircuit.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: 10.442851956002414]